Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

NativeSliceUnsafeUtility.SetAtomicSafetyHandle

Declaration

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

Parameters

slice The NativeSlice to set.
safety The AtomicSafetyHandle to use.

Description

Set the AtomicSafetyHandle on NativeSlice.