Hi,
I’m trying to create a toggle button that sits on a panel and will turn some audio on and off.
Panel loads, there’s pictures and some text on the panel and also a toggle switch. When I click the switch the sound clip plays and when I click it again the sound clip stops.
An example would be a picture of a dog on the panel and when the toggle button is clicked you can hear a barking sound. Click again and it turns off.
I’ve tried many tutorials but can’t seem to achieve what I need as many just mute the sound or even worse mute all the sounds in the scene
Any help is greatly appreciated and if there’s a good reasonably priced asset for sale that will accomplish this I don’t mind buying it.
Thanks,
Andrew