Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dispose

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

Definition

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

Dispose()

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

Dispose(JobHandle)

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

Parameters

inputDeps

A job handle. The newly scheduled job will depend upon this handle.

Returns

Type

Description

JobHandleThe handle of a new job that will dispose this hash map.