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