Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dispose

Releases all resources (memory).
Read time 1 minuteLast updated 14 days ago

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.