기술 자료

Unity Engine

Unity Engine

SetRemainingTime(int, long)

Sets the progress indicator's remaining time, in seconds.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetRemainingTime(int id, long seconds)

Parameters

id

The progress indicator's unique ID.

seconds

The progress indicator's remaining time, in seconds.

Remarks

Call this function to set the progress indicator's remaining time. When this function is called, the system stops automatically computing the estimated remaining time. To use automatic computation again, you need to call the function Progress.ClearRemainingTime.