- Home /
Freeze Mouse Look on Pause
Hi there I have a simple question,
Im pausing the game with escape ( C# script ), still my character can look everywhere rotatong the camera by the same way.
How can I simply freeze mouselook on pause and unfreeze it
I looked a lot of answers but no result.
THX
Someone just asked this a day or two ago. Dig around a bit.
Answer by Chimera3D · May 11, 2012 at 05:10 PM
Just say: camera.main.GetComponenet(MouseLook).enabled = false;
Answer by neduser · Aug 29, 2012 at 11:41 PM
Help very need. Project which created in historical faculty not normally work without script (as pause and so on). Studing C+ and Java is very difficult for some humanities. But 3d engine is very popular and needed tools in digital archaeology and historical research. Who any help? Pleese.
For project - Virtual Reconstruction of Moscow Monastery «All Sorrow Joy» 1909 year http://hist.msu.ru/3D/Joy_of_all_sorrow.htm
Ph.D. Student Denis Zherebyatiev Lomonosov State University Historical faculty Historical Informational Science
don't post ads for your game design on Unity Answers, the Collaboration section on the forums is good for that... however, you really shouldn't do that on someone else's question
Answer by neduser · Aug 29, 2012 at 12:38 AM
need full text script
don't post comments as answers, especially to already answered and accepted questions.
what do you mean full text script? that doesn't make sense... however, if you meant a complete script that isn't doable because I don't know what you want the script to do... if you're using the mouse look script in the standard assets then the answer will work
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
2D mouse aiming C# 2 Answers
Pause game while GUI instructions displayed? 1 Answer
Problem with Pause and WaitForSeconds 2 Answers