Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAtomicSafetyHandle<T>(NativeArray<T>)

Gets the AtomicSafetyHandle that is used for safety control on a NativeArray.
Read time 1 minuteLast updated 10 days ago

Definition

public static AtomicSafetyHandle GetAtomicSafetyHandle<T>(NativeArray<T> array) where T : struct

Parameters

The NativeArray to check.

Returns

Type

Description

AtomicSafetyHandleThe AtomicSafetyHandle of the given NativeArray.