Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnsafeHashSet(int, AllocatorHandle)

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

Definition

public UnsafeHashSet(int initialCapacity, AllocatorManager.AllocatorHandle allocator)

Parameters

initialCapacity

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

The allocator to use.