AtomicSafetyHandle.GetNestedContainer

声明

public static bool GetNestedContainer(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

参数

handle 要检查的 AtomicSafetyHandle。

返回值

bool 如果给定的 AtomicSafetyHandle 被标记为嵌套容器,则为 true;否则为 false

说明

检查一个 AtomicSafetyHandle 是否表示嵌套容器。

如果 AtomicSafetyHandle 被标记为嵌套容器,则不能在作业中安全使用。其他资源:AtomicSafetyHandle.SetNestedContainer


Did you find this page useful? Please give it a rating: