CopyFromNBC<T>(NativeList<T>, T[])
Clears this list and then copies all the elements of an array to this list.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.NotBurstCompatible
- Assembly: UnityEngine.ManagedKernelModule
CopyFromNBC<T>(NativeList<T>, `<>[])
[ExcludeFromBurstCompatTesting("Takes managed array")]public static void CopyFromNBC<T>(this NativeList<T> list, T[] array) where T : unmanaged