This version of Unity is unsupported.

AtomicSafetyHandle.CheckReadAndThrow

Declaration

public static void CheckReadAndThrow(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parameters

handle The AtomicSafetyHandle to check.

Description

Checks if the handle can be read from. Throws an exception if already destroyed or a job is currently writing to the data.