- Home /
Question by
Wolfshadow · May 07, 2017 at 01:44 AM ·
c#raycastmouseonmousedownonmouseover
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.
Wolfshadow
Comment
Best Answer
Answer by Wolfshadow · May 07, 2017 at 01:47 AM
Nevermind, I called OnMouseOver (), and then used if (input.getmousebuttondown(1)){}. Hope this helps someone.
Answer by itsjustoneguy · Feb 06 at 04:33 PM
https://youtu.be/-KVaH7DjQqs 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.