Mouse Look Adapt

Hi! I'm fairly new to Unity. I've done a couple of simple projects, but nothing more.

Right now I'm trying to adapt the simple "Mouse Look" script in the Standard Assets. I want the script to only run when the control key is pressed.

Normally, I wouldn't have any trouble with this, but I'm accustomed to scripting in JavaScript, not C#. So any help?

Thanks in advance!

The details of the problem aren't language-specific, so it really shouldn't matter whether the code is in UnityScript or C#. At its most basic, the solution will just involve an 'if' statement (which both languages have) and the Input class (which is accessible via either language).

Specific functions to look into would include Input.GetKey() and Input.GetButton() (you could use either for this, depending on your preference).