This version of Unity is unsupported.

NativeArray<T0>.Dispose

Declaration

public void Dispose();

Description

Disposes the NativeArray.

This methods disposes the memory owned by the NativeArray. The behaviour of this methods depends on the allocation strategy used when creating it (see: Allocator).