AtomicSafetyHandle.CheckWriteAndThrow

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

Parameters

handleSafety handle.

Description 描述

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