AtomicSafetyHandle.GetAllowReadOrWriteAccess
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.