Hey,
I’m trying to run some track in my game flow and stop it at the end,
but I can run the sound just with RuntimeManager.PlayOneShot().
I’ve tried to created an instance from the path and use the start() method.
in the class:
private FMOD.Studio.EventInstance _music;
then I initialize the instance at Init():
_music = RuntimeManager.CreateInstance(“event:/Music”);
running it at the game base:
_music.start();
at the end method:
_music.stop(FMOD.Studio.STOP_MODE.ALLOWFADEOUT);
_music.release();
Warning:
[FMOD] Instance of Event event:/Music has not had EventInstance.set3DAttributes() called on it yet!
thanks.