NativeArrayUnsafeUtility.SetAtomicSafetyHandle

Declaration

public static void SetAtomicSafetyHandle(ref NativeArray<T> array, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety);

Parameters

array The NativeArray to set a new handle on.
safety The new AtomicSafetyHandle to set.

Description

Sets a new AtomicSafetyHandle on a NativeArray.


Did you find this page useful? Please give it a rating: