# SetTimeDisplayMode(int, TimeDisplayMode)

> Set a progress indicator's time display mode.

## Definition

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

```csharp
public static void SetTimeDisplayMode(int id, Progress.TimeDisplayMode displayMode)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The progress indicator's unique ID.**** (\[TimeDisplayMode]\(/engine/6000.7/script-reference/unityeditor/progress/timedisplaymode)): The progress indicator's time display mode.

### Remarks

The time display mode indicates what kind of time information the Progress window displays. If at least one active progress indicator is set to [ShowRemainingTime](/engine/6000.7/script-reference/unityeditor/progress/timedisplaymode/showremainingtime.md), the main progress bar displays the [global remaining time](/engine/6000.7/script-reference/unityeditor/progress/globalremainingtime.md).
