Inspector Variables

FieldTypeDescription
audioMixerAudioMixerThe AudioMixer asset whose exposed parameters this manager controls. Must be assigned on the prefab.

Static Properties

PropertyTypeDescription
currentSoundManagerSingleton instance. Available after Start() runs on the first scene.

Public Methods

MethodDescription
Set(string parameterName, float value)Applies value to the named AudioMixer parameter, updates the in-memory save data, and writes to disk. The parameter name must exactly match an exposed parameter in the AudioMixer asset (case-sensitive).
// Change music volume programmatically
SoundManager.current.Set("MusicVolume", -10f);

// Mute SFX
SoundManager.current.Set("SFXVolume", -80f);
💡
Setup guide See Audio Setup in the Manual for how to expose AudioMixer parameters and configure the SoundManager prefab in your scene.