NativeArray<T0>.Dispose

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).

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答