文档

Unity Engine

Unity Engine

Create()

Creates a new AtomicSafetyHandle.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static AtomicSafetyHandle Create()

Returns

Type

Description

AtomicSafetyHandleThe 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