文档

Unity Engine

Unity Engine

GetKeyArray(AllocatorHandle)

Returns an array with a copy of all this hash map's keys (in no particular order).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeArray<TKey> GetKeyArray(AllocatorManager.AllocatorHandle allocator)

Parameters

The allocator to use.

Returns

Type

Description

NativeArray<T>An array with a copy of all this hash map's keys (in no particular order).