Hello. I'm new to this so if this is a very easy question, I apologize. I tried to figure this out, but I couldn't. I just need the touch of a button to mute all sound and another touch to unmute the sound. Thanks.
Nathan
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Hello. I'm new to this so if this is a very easy question, I apologize. I tried to figure this out, but I couldn't. I just need the touch of a button to mute all sound and another touch to unmute the sound. Thanks.
Nathan
add a
audio.setVolume(0)
when muting and
audio.setVolume(1)
when unmuting
Okay. Thank you!
Nathan