I’m new to FMOD and looking to get going using it in Unity.
I’ve followed the Kart tutorial, but in searching for tutorials to extend my knowledge further, they all seem outdated and use different syntax, so I’m confused.
In the Kart tutorial, it says to add a FMOD Studio Event Emitter component and to use
var emitter = GetComponent<FMODUnity.StudioEventEmitter>(); emitter.SetParameter("RPM", effectiveRPM);
and elsewhere I see I can play a sound from code with
However when I look at other tutorials on the FMOD site (e.g. Survival Shooter or Celeste), I can see these were created for very old versions of Unity, and the projects are no longer available… making the tutorials impossible to follow along. These suggest the following code (and I see this same code in other tutorials on YouTube as recent as 2 years old).
Is this current valid code? Is it recommended or should I avoid this?
In short… where can I look for up-to-date tutorials to learn more than is covered in the Kart tutorial? For 2.1 (or maybe even 2.2)?