[SOLVED]Global mute

Is there anyway to globally mute all audio?

I’ve tried

AudioListener.pause = true;

and

AudioListener.volume = 0;

but that only mutes some sounds. It appears that sounds played using PlayOneShot are the ones that aren’t muted.

Thanks in advance.

Hello!

Maybe they sound before you deactivate the AudioListener?

Have you checked if any sound is being played after you do that?.
Try to deactivate/remove the audio listener and check if the sounds still play.

Sorry, this is a non-issue now.

I’m working with someone else’s code base and they have conflicting code. It’s all fine now.

Thanks anyway.