Pauze all the sounds ingame when in pauzemenu

Hi,

i’ve created a pauzemenu for my game and everything is working fine to show it and pauze the game itself , but all the background ambient music are still playing , therefor i want to pauze all the sounds and only play the pauzemenu music ?

is there a way to do this ?

Simply:

audio.Pause();

Don’t get me wrong but when you have a question like this, check google first with audio pause unity for example. Or check the search button on the top right corner of the forum.

This has been asked many times already.