Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CheckReadAndThrow(AtomicSafetyHandle)

Check whether the referenced native container can be read from.
Read time 1 minuteLast updated 14 days ago

Definition

[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.