Unity Button Click To Play Sound


(TCJ) #1

I’m very new to unity, and I want to make what should be the simplest thing in the world.

I want a 2D scene with a handful of buttons, when I click a button it starts the associated FMOD event. When I click it again it stops the event.

I also need some buttons to modify event parameters, preferably over X seconds so it’s a smooth change.

There’s no character so to speak, no environment, no movement, basically I just want to make a soundboard that uses the power of FMOD. Help?


(Nicholas Wilcox) #2

I recommend looking at our Basic Unity Scripting Example

You’ll need to be familiar with Unity Scripting in general and the best place for that is Unity itself

Unity would also be the best place to learn about their UI system.