I have an issue in my project at the moment, after a player finishes a level a new scene is loaded but I'm not able to move the mouse cursor. To begin with it wouldn't show either so I added the code;
Cursor.visible = true;
Now the mouse cursor is visible but I still can't move it from the center of the scene. Any help or advice would be appreciated.
You may need to reset lockState
to None
as well:
Cursor.lockState = CursorLockMode.None;
See Cursor.lockState documentation.