文档

Unity Engine

Unity Engine

CopyTo

Copies all elements to a NativeArray<T>.ReadOnly or managed array of the same length.
阅读时间1 分钟最后更新于 1 个月前

Definition

CopyTo(`0[])

Copies all elements to a NativeArray<T>.ReadOnly or managed array of the same length.
public void CopyTo(T[] array)

Parameters

array

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.