文档

Unity Engine

Unity Engine

SetRemainingTime(int, long)

Sets the progress indicator's remaining time, in seconds.
阅读时间1 分钟最后更新于 1 个月前

Definition

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