Version: 2023.1
public T[] ToArray ();

返回

T[] A managed array with a copy of the contents of the NativeSlice.

描述

Convert the NativeSlice to managed array.