기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetKeyValueArrays(AllocatorHandle)

Returns a NativeKeyValueArrays with a copy of all this hash map's keys and values.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public readonly 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 this hash map's keys and values.

Remarks

The key-value pairs are copied in no particular order. For all
i
,
Values[i]
will be the value associated with
Keys[i]
.