Version: 2021.2
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.