SetStepLabel(int, string)
Sets the label that displays a progress indicator's steps.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void SetStepLabel(int id, string label)
Parameters
Remarks
This label displays a progress indicator's reported steps. For example, a progress indicator that reports "Jobs" might display "11/25 Jobs" and a progress reporting "Assets" might display "8/20 Assets". To report progress in steps, use Progress.Report with the steps variant.
Additional Resources: Progress.GetStepLabel, Progress.GetCurrentStep, Progress.GetTotalSteps, Progress.Item.stepLabel, Progress.Item.SetStepLabel.