In my 2D project i need to click throw object(Clickable Area) on Table. I processing clicks on objects with physics raycaster 2D with IPointerClickHandler event. How can i do that? Because it can process only first intersection.
I tried to set up Physics 2D Raycaster in camera, i thought there are ray length/distance parameter, but i didn’t find any parameters like that.
Tried make two raycasters for specific layers to process “Table” layer and “UI” layer, but it steel process only UI(first on way) intersection. Objects need to handle click
Tomessertor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.