Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetAtomicSafetyHandle<T>(ref NativeSlice<T>, AtomicSafetyHandle)

Set the AtomicSafetyHandle on NativeSlice.
Read time 1 minuteLast updated 23 days ago

Definition

SetAtomicSafetyHandle<T>(NativeSlice<T>, AtomicSafetyHandle)

public static void SetAtomicSafetyHandle<T>(ref NativeSlice<T> slice, AtomicSafetyHandle safety) where T : struct

Parameters

The NativeSlice to set.

The AtomicSafetyHandle to use.