文档

Unity Engine

Unity Engine

GetParentId(int)

Gets the unique ID of the progress indicator's parent, if any.
阅读时间1 分钟最后更新于 1 天前

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.