Screen.Cursor Unity

 //UNLOCK THE MOUSE 

if (Input.GetKeyDown("escape"))
   {
   Screen.lockCursor = false;
   }
Zarden