Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Screen.lockcursor unity

 //UNLOCK THE MOUSE 

if (Input.GetKeyDown("escape"))
   {
   Screen.lockCursor = false;
   }
 
PREVIOUS NEXT
Tagged: #unity
ADD COMMENT
Topic
Name
2+6 =