文档

Unity Engine

Unity Engine

UnsafeHashMap(int, AllocatorHandle)

Initializes and returns an instance of UnsafeHashMap.
阅读时间1 分钟最后更新于 1 个月前

Definition

public UnsafeHashMap(int initialCapacity, AllocatorManager.AllocatorHandle allocator)

Parameters

initialCapacity

The number of key-value pairs that should fit in the initial allocation.

The allocator to use.