This version of Unity is unsupported.

AtomicSafetyHandle.GetAllowReadOrWriteAccess

Declaration

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

Parameters

handle Safety 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.