Make a music menu that carries over scene reload.
Hey guys. I have been struggling to make a menu for my music but have run into some serious problems.
I have four choices the player gets. would he like to listen to music track 1,2,3 or 4 while playing. this choice needs to carry over a scene reload.
I tried to do this by actvating an empty object with DoNotDestroyOnLoad, and have my Start button check which one is active, but since I cannot access it after scene reload "it is in the donotdestroyscene" it is useless.
Can I do this with integers? I desperatly need som help. I am in over my head and way to green for this.
All the best Jakkin
Your answer
![](https://koobas.hobune.stream/wayback/20220613024805im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Collision detection in 2017 3d 4.2f2 0 Answers
Make simple hit effect 1 Answer
(3d) Destroy a GameObject when player walks over it 1 Answer
Delete object with key within Trigger 1 Answer
Destroy a spawning enemy prefab with an weapon prefab 0 Answers