USING ANIMATIONS TO PLAY FMOD EVENTS IN UNITY3D

In my last post I explained how to attach an FMOD_StudioEventEmitter component to a game object, then, play it by adding a short line of code to the relevant script. Another method of playing FMOD events is attaching them to animations, this allows for much greater control with the ability to trigger sounds at any point along an animations timeline.

FMOD & Unity Integration With Space Shooter

After a lot of trial and error, tutorials and trouble shooting I managed to get my first FMOD & Unity integration project working using the Space Shooter complete project from the Unity Asset Store.

Implementation

The Space Shooter complete project comes with sound already in game using the Unity audio engine. The sounds are all basically one shot samples added to game objects via Unity Audio Source components. I could have just replaced each audio file with a new one of the same name, but I wanted to implement the sound with FMOD and take advantage of things like multi sound modules and pitch randomisation.  This meant I had to replace