GetParentId(int)
Returns the parent ID of an item, by ID.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public virtual int GetParentId(int id)
Parameters
The ID of the item to fetch the parent from.
Returns
Type | Description |
|---|---|
| int | The parent ID, or -1 if the item is at the root of the tree. |