OnMouseDown for Right Mouse

Hello fellows,

I would like to call OnMouseDown (), but with the right mouse button. I’d rather not use a raycast system. Any ideas? Thanks.


Nevermind, I called OnMouseOver (), and then used if (input.getmousebuttondown(1)){}. Hope this helps someone.

How to do right click OnMouseDown (Unity Tutorial) - YouTube I did the same thing. Why this isn’t basic unity logic I’ll never know. Created a video to help others. I seen people coming up with far more complex solutions.

Thanks man, this helped me out.