Question by
Gooball60 · Sep 18, 2015 at 01:28 AM ·
pausemouselookpause menufirstperson
Disable Mouse Look while in pause menu? (Unity 5)
I'm using the Game Jam Menu Template for my pause menu. Whenever I pause the game, I'm still able to look around in the background. Is there any way to disable the MouseLook script in FirstPersonCharacter while I'm in the pause menu?
Comment
You can create a static bool in $$anonymous$$ouseLook script and do mouseLook only if this bool is true. $$anonymous$$ake if false when you pause the game and make it true when you resume the game. or Disable the mouse look script when you pause the game and turn it on when resume.
I'm sorry, I'm quite new to program$$anonymous$$g. How would I do that?