This version of Unity is unsupported.

AtomicSafetyHandle.Create

Declaration

public static Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle Create();

Returns

AtomicSafetyHandle The newly created AtomicSafetyHandle.

Description

Creates a new AtomicSafetyHandle.

If the memory associated with this container is being allocated using Allocator.Temp, then use AtomicSafetyHandle.GetTempMemoryHandle instead of this method.

See Also: AtomicSafetyHandle.Release.