AudioSource.ignoreListenerVolume Manual     Reference     Scripting  
Scripting > Runtime Classes > AudioSource

var ignoreListenerVolume : bool


This makes the audio source not take into account the volume of the audio listener.

Enable this when playing back music. When playing back music you want a separate setting which is unaffected by the normal sound effects volume.

audio.ignoreListenerVolume = true;