Version: 2021.3
public T[] ToArray ();

返回

T[] A new managed array with the same contents as this array.

描述

Convert the data in this NativeArray.ReadOnly to a managed array.