Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

id

The progress indicator's unique ID.

Returns

Type

Description

intThe unique ID of the progress indicator's parent. If the progress indicator is not a child of any other progress indicators, returns -1.