Im making 2D android game and i want to make 2 buttons to turning on and off all sounds and i dont know how to do this
In the details menu of your soundcues, you can set a sound class. If you do so, you can apply a volume multiplayer to this sound class, so all the sounds of this class will be affected. Just put it to 0 with the “SetSoundMixClassOverride” node, to mute them all.
Don’t forget to create a sound mix and set your sound class in it
and after use “set sound mix class override” use “push sound mix modifier” to apply your modif :