GetIndexForId(int)
Returns the index for the specified id.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public virtual int GetIndexForId(int id)
Parameters
The item ID.
Returns
Type | Description |
|---|---|
| int | The item index. |
Remarks
For example, the index will be different from the id in a tree.