# AddCustomScalerToProviderSetting(IAdaptivePerformanceSettings)

> Add the custom scaler in users' assets to the provider settings. Only needed if you want to scan for custom scalers during build time.

## Definition

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

```csharp
public static bool AddCustomScalerToProviderSetting(IAdaptivePerformanceSettings settings)
```

### Parameters

**** (\[IAdaptivePerformanceSettings]\(/engine/6000.7/script-reference/unityengine/adaptiveperformance/iadaptiveperformancesettings)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
