文档

Unity Engine

Unity Engine

UnsafeParallelHashSet(int, AllocatorHandle)

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

Definition

public UnsafeParallelHashSet(int capacity, AllocatorManager.AllocatorHandle allocator)

Parameters

capacity

The number of values that should fit in the initial allocation.

The allocator to use.