Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UnsafeParallelHashMap(int, AllocatorHandle)

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

Definition

public UnsafeParallelHashMap(int capacity, AllocatorManager.AllocatorHandle allocator)

Parameters

capacity

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

The allocator to use.