Hello, I need the MouseLook.cs file to be in javascript for experimental purposes (Hint: it involves a pause menu and some serious scripting) so could anyone lend a hand?
More specific version:
I need the mouse look script to stop once the pause menu is active because I do not want the player looking around etc. so I stopped the mouselook script, for some mythical reason it did NOT work or rather… well it DID work but PARTLY (you couldn’t mouselook to the sides but up and down weren’t disabled) need help please?
“This is a modified version of the C# MouseLook script in the Standard Assets. It’s been converted to Javascript”
You should be able to Disable the script temporarily during pause through
GetComponent(“MouseLookPlus”).enabled = false;