ドキュメント

Unity Engine

Unity Engine

GetIndexForId(int)

Returns the index for the specified id.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public virtual int GetIndexForId(int id)

Parameters

id

The item ID.

Returns

Type

Description

intThe item index.

Remarks

For example, the index will be different from the id in a tree.