# SetRemainingTime(int, long)

> Sets the progress indicator's remaining time, in seconds.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void SetRemainingTime(int id, long seconds)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The progress indicator's unique ID.**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): 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](/engine/6000.7/script-reference/unityeditor/progress/clearremainingtime.md).
