CopyFrom
Copies all the elements from a NativeArray<T> or a managed array of the same length.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
CopyFrom(`0[])
Copies all the elements from a NativeArray<T> or a managed array of the same length.
public void CopyFrom(T[] array)
Parameters
The array to copy elements from.
CopyFrom(NativeArray<T>)
Copies all the elements from a NativeArray<T> or a managed array of the same length.
public void CopyFrom(NativeArray<T> array)
Parameters
The array to copy elements from.