Creating a main menu with the new input system
Hi everyone. I'm making the main menu of my game, pretty simple menu, retro style like Resident Evil. Just a background image, 4 buttons => New Game, Saves, Options and Exit. I'm using the new input system and only the keyboard and gamepad, no mouse. Everything worked so far, when I submit to new game, the first level launch, when a press exit the debug.log("exit") work too. I've been using static classes and enum to switch between the main menu, the save menu and the options menu. From this tutorial : youtube
The only problem is when I want to go back to the main menu from the other ones. I've put a back button to them but it does not seem to work. And I don't really understand why, does the input system still think we are in the main menu ? Even if it's not active ? I'm confused..
Thanks guys ! Cheers