Can't mute game sounds
Hi everyone
I have a button on my game that when pushed sets audio music and sound to 0
when I push it my music stops playing but all of my sounds still make noise on activation(pressing buttons)
Is there a simple reason why sound volume isn't setting to 0 and I can still hear all my sounds?
Thanks
I have a button on my game that when pushed sets audio music and sound to 0
when I push it my music stops playing but all of my sounds still make noise on activation(pressing buttons)
Is there a simple reason why sound volume isn't setting to 0 and I can still hear all my sounds?
Thanks
Answers
I just added an interger named music and set it to '0'
put a rule on all my sounds to only play if music = 0
on my mute button I made a rule to change music interger to '1' when pushed
Which resulted in no sounds being able to play.