Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToArray()

Convert the data in a NativeArray<T>.ReadOnly to a managed array.
Read time 1 minuteLast updated 6 days ago

Definition

public T[] ToArray()

Returns

Type

Description

<T>[]A new managed array with the same contents as the given NativeArray<T>.ReadOnly.