기술 자료

Unity Engine

Unity Engine

CopyFrom

Copies all the elements from a NativeSlice<T> or managed array of the same length.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

CopyFrom(NativeSlice<T>)

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

Parameters

The NativeSlice<T> to copy the elements from.

CopyFrom(`0[])

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

Parameters

array

The array to copy elements from.