Closed InverNessian closed 4 years ago
The Main Menu can now load scenes according to a scene index. Under build settings there is a window where you can drag in scenes. This assigns them a numerical index, so it's just a matter of knowing which scene you want to load and passing that into the GameController. I think I will have an enum for that? Or perhaps there is a variable that stores the "current mission" in SaveState that we can use to track which mission a player should load.
There should also be a "previous scene" field so we can go back if needed.
I'll need to get the GameController to load new scenes soon. This goes hand-in-hand with the Menu issue, since what will need to happen is the game's initial scene be a menu, which when clicked loads missions/save files/etc.