Cursor.lockState = CursorLockMode.None; // to unlock cursor Cursor.visible = true; // to make cursor visible
CursCursor.lockState = CursorLockMode.Locked; Cursor.visible = false;