文档

Unity Engine

Unity Engine

Dispose

Releases all resources (memory and safety handles).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

Dispose()

Releases all resources (memory and safety handles).
public void Dispose()

Dispose(JobHandle)

Creates and schedules a job that will dispose this queue.
public JobHandle Dispose(JobHandle inputDeps)

Parameters

inputDeps

The handle of a job which the new job will depend upon.

Returns

Type

Description

JobHandleThe handle of a new job that will dispose this queue. The new job depends upon inputDeps.