- Home /
Question by
Phazorknight · Apr 22, 2020 at 05:00 PM ·
mouselookfirst person controllerstandard assets
Standard Asset FPS Controller: Unlock Cursor / Show Cursor for Menu
Hey everyone,
I'm using the standard FPS controller (FirstPersonController.cs) in my project but now I wanna add UI to interact with. Problem is that I can't seem to unlock the cursor, make it visible, and lock the mouselook.
I've tried using:
Cursor.lockState = CursorLockMode.None;
Cursor.visible = true;
But they don't seem to work. Any help in how to do it, would be appreciated.
Comment