ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


GetIndexForId(int)

Returns the index in the source of the item, by ID.
読み終わるまでの所要時間 1 分最終更新 24日前

Definition

public override int GetIndexForId(int id)

Parameters

id

The ID of the item to look for.

Returns

Type

Description

intThe index of the item in the expanded items source. Returns -1 if the item is not visible.