Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetRemainingTime(int, long)

Sets the progress indicator's remaining time, in seconds.
Read time 1 minuteLast updated 5 days ago

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.