기술 자료

Unity Engine

Unity Engine

GetIndexForId(int)

Returns the index for the specified id.
읽는 시간 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.