# SetRemainingTime(long)

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

## Definition

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

```csharp
public void SetRemainingTime(long seconds)
```

### Parameters

**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): 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](/engine/6000.5/script-reference/unityeditor/progress/item/clearremainingtime.md).

Additional Resources: [Progress.SetRemainingTime](/engine/6000.5/script-reference/unityeditor/progress/setremainingtime.md), [Progress.Item.remainingTime](/engine/6000.5/script-reference/unityeditor/progress/item/remainingtime.md), [Progress.Item.ClearRemainingTime](/engine/6000.5/script-reference/unityeditor/progress/item/clearremainingtime.md).
