Version: 2018.1
public NativeArray<T0> (T[] array, Unity.Collections.Allocator allocator);
public NativeArray<T0> (NativeArray<T> array, Unity.Collections.Allocator allocator);

パラメーター

lengthArray length.
allocatorAllocator.
clearMemoryShould clear memory?
arraySource array to copy elements from.

説明

Create NativeArray.