文档

Unity Engine

Download Unity

Unity Engine

progress

Returns the progress value of a progress indicator's associated task.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public float progress { get; }

Remarks

While the associated event is in progress, this value is usually between 0 and 1. If it is -1, progress is indefinite. If it is -2, progress has not been reported yet.
Additional Resources: Progress.Item.Report.