CopyTo
Copies all the elements to another NativeArray<T> or a managed array of the same length.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
CopyTo(`0[])
Copies all the elements to another NativeArray<T> or a managed array of the same length.
public void CopyTo(T[] array)
Parameters
The array to copy elements to.
CopyTo(NativeArray<T>)
Copies all the elements to another NativeArray<T> or a managed array of the same length.
public void CopyTo(NativeArray<T> array)
Parameters
The array to copy elements to.