|
Post by yakdoggames on Mar 21, 2018 6:49:11 GMT
Hi, new to MasterAudio
I have this SFX that is played every time you collect some objects if I collect the objects too often the second time the SFX will not play, but after a little time will play again.
So I remember that in Unity I was using PlayOneShot so Unity took care of the mixing when playing the sound many times at the same time.
I tried:
MasterAudio.PlaySound(xxx) MasterAudio.PlaySoundAndForget(xxx)
didn't found any setting to allow multiple instances playing at the same time.
Any Advise?
Regards
|
|
|
Post by yakdoggames on Mar 21, 2018 7:11:55 GMT
I think I found the problem, in the Group I changed the Voices to 10 and that works as charm.
Thanks.
Sorry but I didn't found this explained anywhere in the docs.
|
|
|
Post by DarkTonic Dev on Mar 21, 2018 15:33:46 GMT
It's several places in the docs and in the videos too.
Also, you could turn on "Log Sounds" in Advanced Settings and read the console saying "All Variations are busy, increase the Voices/Weight field number". Glad you were able to figure it out.
|
|