文档

Unity Engine

Unity Engine

GetAtomicSafetyHandle<T>(NativeArray<T>)

Gets the AtomicSafetyHandle that is used for safety control on a NativeArray.
阅读时间1 分钟最后更新于 1 个月前

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.