Inspector Variables

FieldTypeDescription
audioMixerAudioMixerThe AudioMixer containing the parameter to control. Must be the same asset assigned to SoundManager.
parameterNamestringExact name of the exposed parameter (case-sensitive). Must match the name in the AudioMixer's Exposed Parameters list.

Public Methods

MethodDescription
SetValue(float value)Forwards the new value to SoundManager.current.Set(parameterName, value). Wire to the Slider's OnValueChanged (Dynamic float) event in the Inspector.
💡
Setup guide See Audio Setup in the Manual for the step-by-step walkthrough — exposing the mixer parameter, configuring the Slider range, and wiring OnValueChanged.