文档

Unity Engine

Unity Engine

GetKeyValueArrays(AllocatorHandle)

Returns a NativeKeyValueArrays with a copy of all the keys and values (in no particular order).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeKeyValueArrays<TKey, TValue> GetKeyValueArrays(AllocatorManager.AllocatorHandle allocator)

Parameters

The allocator to use.

Returns

Type

Description

NativeKeyValueArrays<T, T>A NativeKeyValueArrays with a copy of all the keys and values (in no particular order).

Remarks

A key with "N" values is included "N" times in the array.