ToNativeArray(AllocatorHandle)
Returns an array that is a copy of this list.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public NativeArray<T> ToNativeArray(AllocatorManager.AllocatorHandle allocator)
Parameters
The allocator to use.
Returns
Type | Description |
|---|---|
| NativeArray<T> | An array that is a copy of this list. |