Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnsafeParallelHashSet(int, AllocatorHandle)

Initializes and returns an instance of UnsafeParallelHashSet.
Read time 1 minuteLast updated 13 days ago

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.