文档

Unity Engine

Unity Engine

GetReaderName(AtomicSafetyHandle, int)

Gets the name of a specified job that reads from an AtomicSafetyHandle.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static string GetReaderName(AtomicSafetyHandle handle, int readerIndex)

Parameters

The AtomicSafetyHandle to check.

readerIndex

Index of the reader.

Returns

Type

Description

stringThe debug name of the reader.

Remarks

This is a debugging method used to produce better error messages and is not intended to be called from user code.