Does this require any scripting?
Or can I get I get an fmod event to play when “up” and “down” are pressed on the keyboard/controller while in a menu… without any scripts? lol…
Does this require any scripting?
Or can I get I get an fmod event to play when “up” and “down” are pressed on the keyboard/controller while in a menu… without any scripts? lol…
Hi,
Currently the FMOD Studio Event Emitter component doesn’t have Play/Stop event for inputs, so you will need to do some scripting to accomplish the desired behavior.
That said, if you want to reduce the amount of scripting needed, instead of handling an event instance yourself, you can set up a FMOD Studio Event Emitter component with your desired event selected, and then trigger the Emitter from your own script by storing a reference to it with FMODUnity.StudioEventEmitter emitter = GetComponent<FMODUnity.StudioEventEmitter>();
and playing it with emitter.play()
.