This version of Unity is unsupported.

NativeSlice<T0>.ToArray

Declaration

public T[] ToArray();

Returns

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

Description

Convert the NativeSlice to managed array.