jhow to disable mouse on ui unity code example Example: disable mouse unity Cursor.lockState = CursorLockMode.locked; Cursor.visible = false;