# ApplyProfileSettings(AdaptivePerformanceScalerSettingsBase)

> Hydrates this scaler from a profile setting in one shot: installs the per-mode override for every mode (default / battery). Enabled state rides inside each mode's settings struct, so applying the per-mode structs is sufficient — AdaptivePerformanceScaler.Enabled reads from the active struct via ActiveSetting. Intended for subclasses to call from Awake with their own typed setting, e.g. ApplyProfileSettings(m_Settings.scalerSettings.AdaptivePhysics). No-op if setting is null.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.AdaptivePerformance](/engine/6000.7/script-reference/unityengine/adaptiveperformance.md)
* **Assembly:** UnityEngine.AdaptivePerformanceModule

```csharp
protected void ApplyProfileSettings(AdaptivePerformanceScalerSettingsBase setting)
```

### Parameters

**** (\[AdaptivePerformanceScalerSettingsBase]\(/engine/6000.7/script-reference/unityengine/adaptiveperformance/adaptiveperformancescalersettingsbase)): The default-mode setting from the active profile; its Get\*ModeSetting() accessors supply the per-mode overrides.
