Hi, i’m new to FMOD
Thanks for answer first.
In FMOD(Unity, c#), I want to play several sounds with same event. but when I create a new event instance and start it, the old one (used same event path) stopped automatically.
How can i prevent the stop?
I just want to play some events with same event
Please help
You need to create new event instances for each time you want it to play separately.
Using Unity you can either use:
var instance = FMODUnity.RuntimeManager.CreateInstance("path/to/event");
instance.start();
instance.release();
var instance2 = FMODUnity.RuntimeManager.CreateInstance("path/to/same/event");
instance2.start();
instance2.release();
or
FMODUnity.RuntimeManager.PlayOneShot("path/to/event");
FMODUnity.RuntimeManager.PlayOneShot("path/to/same/event");
Take a look into the documentation to learn more: https://www.fmod.com/resources/documentation-unity?version=2.0&page=api.html