Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to lock and hide the cursor unity

Cursor.lockState = CursorLockMode.None; // this is to lock the cursor
Cursor.visible = true; //this is to make cursor visible
 
PREVIOUS NEXT
Tagged: #lock #hide #cursor #unity
ADD COMMENT
Topic
Name
2+2 =