Logo my studio is game, portfólio is developer game

Disable mouse pointer and movement in Unity

To disable mouse pointer and movement in Unity, it is very simple:

private void Start()
{
     Cursor.visible = false;
     Cursor.lockState = CursorLockMode.Locked;
}

Make contact!

Did you like this content? Let's talk...

I'm a game developer, I use unity. If you want to develop something, tell me!