|
Post by duotemplar on Jul 20, 2016 11:25:22 GMT
I create MA object in SceneA, and set it persist.I also set a playlist in the MA. Then I create a Dynamic Sound Group Creator in SceneB, and set another playlist. When I hit play, in the SceneA, the music play well, but if I change sence(LoadLevel) to SceneB, I can not play the playlist which create by the DSGC, is there something I set wrong?
|
|
|
Post by DarkTonic Dev on Jul 20, 2016 16:02:56 GMT
For a no code solution, use the customs events section in the DGSC to fire a custom event when the audio items are done being created. Then add an EventSounds component to a game object in Scene B that will listen for that custom event and change Playlists. This is the best way.
|
|
|
Post by duotemplar on Jul 21, 2016 2:47:57 GMT
OK, I follow your advise, and it works!Thank you!
I just want to suggest, when user want to chose objects(like custom event or playlistControl) which is not in the current scene, can the AddOn list all the object name define in other scenes?Copy the name of the objects is a litte inconvient.
|
|
|
Post by DarkTonic Dev on Jul 21, 2016 4:35:24 GMT
Unfortunately that's not possible. We can only use scripting to get a list of objects in the current Scene. I would love to do that though!
|
|