Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Asatte32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to keep the music playing between scenes. When attached to the root scene, they are freed so I am not sure where to attach the Entity/Component.
Thank you
Edit: While the Eideren's answer is correct to keep entities between scenes, to keep the music playing between scenes, entities is not needed. Simply create sound instance via code and it will keep playing till you destroy it. Create the instance with: CreateInstance() and use Dispose() to get rid of it
Beta Was this translation helpful? Give feedback.
All reactions