기술 자료

Unity Engine

Unity Engine

CheckWriteAndThrow(AtomicSafetyHandle)

Check whether the referenced native container can be written to.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters

The AtomicSafetyHandle to check.

Remarks

Throws the
InvalidOperationException
exception if the
AtomicSafetyHandle
is already destroyed or a job is currently reading or writing to the data.