Monodevelop is not letting me use GetMouseButton. I want to know if the right mouse button is pressed, basic stuff. But it is launched even when it is not, and if I put a breakpoint on the doSomething(), the GetMoustButton shows global::UnityEngine.Input.GetMouseButton : Unknown member: Input.GetMouseButton.
void Update () {
if (Input.GetMouseButton(1)) {
doSomething();
}
}