|
Post by subtletechnology on Nov 20, 2021 6:13:18 GMT
Using our own audioclips, which we don't want to setup and maintain within MasterAudio - I was able to use the CreateGroupVariationForClip to add them and play them dynamically. However, it is adding them under the MasterAudio gameobject and not the DynamicSoundGroupCreator in the scene, even though I manually created a group with a specific name and use that name.
I wanted it to use the DynamicSoundGroupCreator that we use in each separate scene and that gets destroyed when you switch scenes - not under the MasterAudio master object which is marked DoNotDestroy.
Maybe there should be a CreateGroupVariationForClip on the DynamicSoundGroupCreator so that we could achieve that?
If we manually use the DynamicSoundGroupCreator and make a "CardSFX" group, when you use the MasterAudio.CreateGroupVariationForClip("CardSFX") it doesn't see the one under the DynamicSoundGroup and creates a new one under MasterAudio.
|
|
|
Post by DarkTonic Dev on Nov 20, 2021 20:35:30 GMT
Correct, that's how it works. Why are you not able to create them in advance in a dsgc that you optionally enable based on your logic?
|
|