Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 13 days ago

Definition

protected void ApplyProfileSettings(AdaptivePerformanceScalerSettingsBase setting)

Parameters

The default-mode setting from the active profile; its Get*ModeSetting() accessors supply the per-mode overrides.