GetCurrentStep(int)
Gets the current step for a progress indicator.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static int GetCurrentStep(int id)
Parameters
The progress indicator's unique ID.
Returns
Type | Description |
|---|---|
| int | The 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.
Additional Resources: Progress.Report, Progress.GetTotalSteps, Progress.GetStepLabel, Progress.SetStepLabel.