文档

Unity Engine

Unity Engine

CopyFrom

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

Definition

CopyFrom(`0[])

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

Parameters

array

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.