Unity5, How to mute all sound?

Or How to make audio listner pause?


AudioListener.volume = 0f;

AudioListener.pause = true;

This would probably work better for you as it will pause all sound and not just lower the volume, music and effects will resume where they left off when you set it to false.