ドキュメント

Unity Engine

Unity Engine

GetCurrentStep(int)

Gets the current step for a progress indicator.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static int GetCurrentStep(int id)

Parameters

id

The progress indicator's unique ID.

Returns

Type

Description

intThe current step.

Remarks

Returns -1 if the indicator is not set to report progress in steps. To set the type of steps that the progress window displays, use Progress.SetStepLabel.