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

var ignoreListenerVolume : bool

Description

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;