AtomicSafetyHandle.GetAllowReadOrWriteAccess

Switch to Manual
public static bool GetAllowReadOrWriteAccess (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parameters

handleSafety handle.

Returns

bool True if the AtomicSafetyHandle is configured to allow reading or writing, false otherwise.

Description

Returns true if the AtomicSafetyHandle is configured to allow reading or writing.

Read and write access is allowed by default in any newly created AtomicSafetyHandle.