ToArray()
Convert the data in a NativeArray<T>.ReadOnly to a managed array.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
public T[] ToArray()
Returns
Type | Description |
|---|---|
| <T>[] | A new managed array with the same contents as the given NativeArray<T>.ReadOnly. |