Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetNestedContainer(AtomicSafetyHandle)

Checks whether an AtomicSafetyHandle represents a nested container.
Read time 1 minuteLast updated 10 days ago

Definition

public static bool GetNestedContainer(AtomicSafetyHandle handle)

Parameters

The AtomicSafetyHandle to check.

Returns

Type

Description

bool
true
if the given AtomicSafetyHandle is marked as a nested container;
false
otherwise.

Remarks

If the AtomicSafetyHandle is marked as a nested container, it can't be used safely in jobs.