- Home /
Question by
t_w · Oct 01, 2015 at 12:07 PM ·
audioaudiolistenermute
Unity5, How to mute all sound?
Or How to make audio listner pause?
Thanks!
Comment
Best Answer
Answer by YoungDeveloper · Oct 01, 2015 at 12:30 PM
AudioListener.volume = 0f;
you are right. I ignore this sentence 'Representation of a listener in 3D space.'
I just use getcomponent to get audio listenet
Answer by outasync · Oct 02, 2015 at 07:02 AM
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.
Your answer
Follow this Question
Related Questions
Mute/Unmute not working with new sounds 2 Answers
Multiple audio recorders like Audio Listener. 0 Answers
Audio Listener Tiny Unity (Spacialized audio ?) 0 Answers
Muting Audio 2 Answers
Sound volume: How to ignore distance between source and listener? 2 Answers