I’ve got 3 scenes:
Start Menu
Game
Game Over
They are connected like we are doing in the lecture. I am trying to assign background music to them in the following manner:
Start Menu: BGM A
Game: BGM B
Game Over: BGM A
I want the Start Menu and Game Over scenes to be linked with the Singleton pattern so that the music will continue when I choose to play again but not when it enters the Game scene. The closest I’ve been able to manage to far is to have BGM A playing in every scene via the Singleton Pattern and BGM B playing over top of that during the Game scene and only during the Game scene.
Thanks,
Sandy