CheckReadAndThrow(AtomicSafetyHandle)
Check whether the referenced native container can be read from.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]public static void CheckReadAndThrow(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Remarks
Throws an exception if the AtomicSafetyHandle is already destroyed, or a job is currently writing to the data.