Documentation

Unity Engine

Download Unity

Unity Engine

Dispose()

Disposes of the native memory allocated by the collection.
Read time 1 minuteLast updated a day ago

Definition

public void Dispose()

Remarks

If the ColliderArray2D.Length is zero, calling Dispose is optional as no memory would have been allocated in that case.