文档

Unity Engine

Unity Engine

GetNestedContainer(AtomicSafetyHandle)

Checks whether an AtomicSafetyHandle represents a nested container.
阅读时间1 分钟最后更新于 1 个月前

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.