I am making an isometric point and click game that uses code like:
Physics.Raycast(interactionRay, out interactionInfo, Mathf.Infinity)
to get mouse interactions with the 3d objects.
But now i have a intractable HUD i am finding i need a different set of options to deal with that.
For example i want “on hover” or mouse over tooltip functionality to work if the player hovers on a 3d game object or a button in the HUD UI.
Is there any system where i can have all the pointer functionality like hover, mouse enter, etc. that gives the info for the first object hit regardless of UI or 3d object and my code can decide how to handle each case?
Graphic raycasters blocking objects can be set to All which sounded promising but doesn’t seem to do anything. Maybe i am using it wrong?