Version: 2021.3
public void CopyTo (T[] array);
public void CopyTo (NativeArray<T> array);

参数

array The destination array to copy to.

描述

Copy all elements to a NativeArray or managed array of the same length.