GetAllowReadOrWriteAccess(AtomicSafetyHandle)
Checks if the AtomicSafetyHandle is configured to allow reading or writing.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static bool GetAllowReadOrWriteAccess(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Returns
Type | Description |
|---|---|
| bool | True 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.
Additional Resources: AtomicSafetyHandle.SetAllowReadOrWriteAccess