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

Parameters

arrayArray.

Description 描述

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