Answers for "unity how to make the mouse show in an fps"

C#
0

unity hide mouse first person

void Start()
    {//Makes it invisable
        Cursor.visible = false;
  //Locks the mouse in place
        Cursor.lockState = CursorLockMode.Locked;
  // In unity press esc to unlock the mouse and unhide it
  
    }
Posted by: Guest on April-08-2020

Code answers related to "unity how to make the mouse show in an fps"

C# Answers by Framework

Browse Popular Code Answers by Language