文档

Unity Engine

Unity Engine

GetId(int)

Finds a progress indicator's unique ID using its index in the set of all available progress indicators.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static int GetId(int index)

Parameters

index

The valid index for a progress indicator.

Returns

Type

Description

intThe progress indicator's unique ID, or -1 if the unique ID is not available.