Documentation

Unity Engine


Unity Engine


GetAllowReadOrWriteAccess(AtomicSafetyHandle)

Checks if the AtomicSafetyHandle is configured to allow reading or writing.
Read time 1 minuteLast updated 10 days ago

Definition

public static bool GetAllowReadOrWriteAccess(AtomicSafetyHandle handle)

Parameters

The AtomicSafetyHandle to check.

Returns

Type

Description

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

Remarks

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