New First Person Controller: Mouse Look
I'm trying to use older scripts to change the mouse look... I want to enable mouse on main menu(on ESCAPE, and on some parts of my script), but the mouse look isn't a component, he is on the First Person Controller component. Can someone help me? Enable/Disable Mouse Look on script.
Cursor.lockState = CursorLockMode.None;
Cursor.visible = (true);
CursorLockedVar = (false);
Doesn't worked, because First Person Controller > Mouse Look owns the mouse.
Searched and searched, nothing works...
Trying to use: GameObject.Find("Player").GetComponent().enabled = false;
but: The type or namespace name `FirstPersonController' could not be found. Are you missing a using directive or an assembly reference?
Answer by Roga-Foryn · Oct 31, 2016 at 07:07 PM
Can i bump here?
http://answers.unity3d.com/questions/42843/referencing-non-static-variables-from-another-scri.html Not working....
Your answer
Follow this Question
Related Questions
Creating and organizing Game Menu and Level Menu 1 Answer
Model is moving with FPS 0 Answers
Help with First Person AIO 0 Answers
Is there a way to restrict the two navmesh agents two follow to different paths? 2 Answers
Audiosource unlinks 1 Answer