기술 자료

Unity Engine

Unity Engine

Finish(int, Status)

Marks the progress indicator as finished.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.