Mute all sounds in a game

Hi, everybidy.

Could you please tell me if there is a way in Unity to mute all the sounds during game play. Currently I found a way to mute the sounds of a particular game object by setting audio.mute = true. The problem is that this does not affect the other game objects. So is there any global setting which will affect all game objects that I can use runtime?

Is there a way to access in script the AudioManager which seems to be available only in edit mode?

Thank you in advance.

http://unity3d.com/support/documentation/ScriptReference/AudioListener-pause.html
The AudioListener is on the camera by default.

1 Like

Thank you very much , Dman :slight_smile: