Documentation

Unity Engine

Unity Engine

GetParentId(int)

Gets the unique ID of the progress indicator's parent, if any.
Read time 1 minuteLast updated 9 hours ago

Definition

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.