I really love the new FMOD 2.0 features and wanted to put them straight to use. Unfortunately the API changed along with the 2.0 update and therefore some of the old integration codes won’t worked anymore.
I’ve been reading the documentation and reviewed the new code examples in the “Learn” section. But as I’m not a programmer, I can’t really make sense out of it. So I was wondering if anybody can tell me how I need to replace my old codes to make things work again.
What are the new corresponding codes to the following old ones?
FMOD.Studio.ParameterInstance XXXParameter; XXX.getParameter("PARAMETERNAME", out XXXParameter); XXXParameter.setValue(1f); XXX.setParameterValue("PARAMETERNAME", 0f);
The documentation always talks about “IDs” and “Descriptions”. It seems like working with these should be better in case of performance. But how do I set an ID? How can I recall and change the value of a parameter linked to an ID? What’s the difference between an ID and a Description?
Working with names was straight forward to me, but this new ID and Description approach kinda confuses me.