In my project, there are three actions called OnDead, OnDestroy, OnDisable to clean up gameobjects. I call instance.stop( ) and instance.release( ) in all of these three actions. Should I check if the instance has been released or stopped?
Hi,
The easiest way to check the success of a FMOD Function is to use FMOD_RESULT which can be found in the Core API Reference | Common. An example of how to use FMOD_RESULT
in C#
can be found in Scripting Examples | Programmer Sounds. FMOD_RESULT
is a good way to test if FMOD Functions have run properly.
Hope this helps!
Thanks!
1 Like