Einheit werden von Maus los

Cursor.lockState = CursorLockMode. locked;
Cursor.visible = false;