Documentation

Unity Engine

Unity Engine

UnsafeHashSet(int, AllocatorHandle)

Initializes and returns an instance of NativeParallelHashSet.
Read time 1 minuteLast updated a month 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.