文档

Unity Engine

Download Unity

Unity Engine

CheckDeallocateAndThrow(AtomicSafetyHandle)

Check if an AtomicSafetyHandle can be deallocated.
阅读时间1 分钟最后更新于 2 个月前

Definition

[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public static void CheckDeallocateAndThrow(AtomicSafetyHandle handle)

Parameters

Remarks

Throws an exception if the AtomicSafetyHandle has already been destroyed or a job is currently accessing the data.