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