Hello! My name is Adrien, and i’m having troubles with my first game. I am a beginner at this stuff, so the code might be jumbled up or wierd. I am not sure if this is a problem with my unity or something, but if it isn’t it would be nice to help me!. Anyways, I have problems with my menu, if you download the project and open assets>scences(it is spelled that way for some reason). After reaching the scences folder, just open menu.unity and run the project. You can press play and play around with the character, when you are playing the game open the pause menu by pressing the “esc” key, when you get the pause menu click on the button menu, then you will get the bug that I have, where the mouse doesn’t show up and the time seems to be frozen, (note that the bug might not happen to you). I have tried many methods, including changing the timescale to 1, or changing GameIsPaused (a variable) to false, and changing the cursor to visible. All the methods don’t work for me, it only starts working again if I press the “esc” key, then the mouse will appear and the game will not be frozen. The two scripts are under the “scripts” folder inside the assets folder. The “play.cs” file is for the start screen (with the quit and play button), and the “PauseMenu.cs” file is the in-game pause menu. You can download the project here. Email me at: adriennlaunay2015@Gmail.com.
I have learned that both scenes are running at the same time, so we have to figure out how to set the menu scene as active.