Create()
Creates a new AtomicSafetyHandle.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static AtomicSafetyHandle Create()
Returns
Type | Description |
|---|---|
| AtomicSafetyHandle | The newly created AtomicSafetyHandle. |
Remarks
If the memory associated with this NativeContainer is allocated using Allocator.Temp, then use AtomicSafetyHandle.GetTempMemoryHandle instead of this method.
Additional Resources: AtomicSafetyHandle.Release.