文档

Unity Engine

Unity Engine

ToArray()

Convert the data in a NativeArray<T>.ReadOnly to a managed array.
阅读时间1 分钟最后更新于 1 个月前

Definition

public T[] ToArray()

Returns

Type

Description

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