- Home /
Question by
Yoaviss · Sep 02, 2019 at 04:19 AM ·
raycastonmouseover
Making GameObjects respond to OnMouseOver(), but not to Raycasts
I am making a game where objects have to do something when they are moused over, however, those same objects have to also be ignored by raycasts. I tried to use the "Ignore Raycasts" layer, but this made OnMouseOver() unresponsive. Any help?,I am making a game in which objects have to perform an action when they are moused over. However, i want those same objects to be ignored by raycasts. I tried to use the Ignore Raycasts layer, but this just made OnMouseOver() not work. Any help?
Comment
Your answer
Follow this Question
Related Questions
Raycast issue ... 1 Answer
OnMouseDown for Right Mouse 2 Answers
Multiple Raycast scripts vs Single Raycast script 1 Answer
OnMouseOver or Use a Raycast? 1 Answer