Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Finish(int, Status)

Marks the progress indicator as finished.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void Finish(int id, Progress.Status status = Status.Succeeded)

Parameters

id

The progress indicator's unique ID.

status

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.