文档

Unity Engine

Unity Engine

Dispose

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

Definition

Dispose()

Releases all resources (memory).
public void Dispose()

Dispose(JobHandle)

Creates and schedules a job that frees the memory of this list.
public JobHandle Dispose(JobHandle inputDeps)

Parameters

inputDeps

The dependency for the new job.

Returns

Type

Description

JobHandleThe handle of the new job. The job depends upon
inputDeps
and frees the memory of this list.