기술 자료

Unity Engine

Unity Engine

CopyTo

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

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

CopyTo(`0[])

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

Parameters

array

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.