Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Create()

Creates a new AtomicSafetyHandle.
Read time 1 minuteLast updated 12 days ago

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.