文档

Unity Engine

Unity Engine

ToArray()

Converts a NativeSlice<T> to managed array.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public T[] ToArray()

Returns

Type

Description

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