Finish(Status)
Marks the progress indicator as finished.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public void Finish(Progress.Status finishedStatus = Status.Succeeded)
Parameters
The status of the associated task when the progress indicator finishes. Indicates whether the task succeeded, failed, or was canceled.
Remarks
The system removes finished progress indicators unless they are sticky. Sticky progress indicators display progress information even after their associated tasks are complete. The system does not remove them automatically.
Additional Resources: Progress.Finish.