Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity mouse lock



#if UNITY_EDITOR
    if(Input.GetKeyDown(KeyCode.E))
#else
    if(Input.GetKeyDown(KeyCode.Escape))
#endif
    {
        ...


Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #unity #mouse #lock
ADD COMMENT
Topic
Name
8+5 =