文档

Unity Engine

Unity Engine

totalSteps

Returns the total number of steps, from start to finish, for this progress indicator.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public int totalSteps { get; }

Remarks

Returns -1 if this indicator does not report progress in steps. To set the type of steps that the progress window displays, use Progress.Item.SetStepLabel.
Additional Resources: Progress.Item.Report, currentStep, stepLabel, Progress.Item.SetStepLabel.