ToArrayNBC<T>(NativeList<T>)
Returns a new managed array which is a copy of this list.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.NotBurstCompatible
- Assembly: UnityEngine.ManagedKernelModule
[ExcludeFromBurstCompatTesting("Returns managed array")]public static T[] ToArrayNBC<T>(this NativeList<T> list) where T : unmanaged
Parameters
The list to copy.
Returns
Type | Description |
|---|---|
| <T>[] | A new managed array which is a copy of this list. |