I have 3 scenes.
-
Gameplay (Where all the game objects are stored)
-
Main Menu
-
Manager
Switching scenes is easy. And using the escape key to back to the main menu is also easy.
My problem is when I go back to the main menu and loading the main menu the Gameplay scene is removed or I need to remove it so the ui and other stuff of the Gameplay will not overlap with the Main Menu ui and stuff.
But then my whole game progress is destroyed too. And in my logic or in most of the games when you go back to the main menu the game is paused and you have a resume/continue button and a start a new game button.
My problem is that I don’t understand what and how should I do when going back to the main menu ? Should the game to be paused ? Should I remove the Gameplay scene or leave it with the Main Menu at the same time in the Hierarchy ? But if both scenes in the Hierarchy what next ?
I’m confused with the logic when going back to the main menu.
My game is a first person adventure.