Documentation

Unity Engine

Unity Engine

SetRemainingTime(long)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public void SetRemainingTime(long seconds)

Parameters

seconds

The progress indicator's remaining time, in seconds.

Remarks

When you call this function, the system sets the progress indicator's remaining time. It stops automatically computing the estimated remaining time. To use automatic computation again, call the function Progress.Item.ClearRemainingTime.