So, playing games I have noticed in the games, such as an FPS, you can’t see your cursor(duh). Although, if you were to pause the game, your cursor would be at the center of the screen. How can I integrate that into my pause menu?
Create a script and set Screen.showCursor to show or hide the cursor, and use Screen.lockCursor to force the cursor to the center of the screen, useful if your game runs in windowed mode. If you don’t lock the cursor, the mouse will be hidden in the window, but when the player moves the mouse the cursor will show outside the window and if the player clicks, the game will lose focus.