GetParentId(int)
Gets the unique ID of the progress indicator's parent, if any.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetParentId(int id)
Parameters
The progress indicator's unique ID.
Returns
Type | Description |
|---|---|
| int | The unique ID of the progress indicator's parent. If the progress indicator is not a child of any other progress indicators, returns -1. |