# SetThresholds(int, int, bool)

> Change the percentage levels of the dial.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.AdaptivePerformance.UI.Editor](/engine/6000.6/script-reference/unityeditor/adaptiveperformance/ui/editor.md)
* **Assembly:** UnityEditor.AdaptivePerformanceModule

```csharp
public void SetThresholds(int yellowPercentage, int redPercentage, bool force = false)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Force and intemediate update.
