- Home /
Question by
Divinitize1 · Aug 16, 2019 at 08:33 PM ·
uiraycastgraphics
Can i use anything other than Graphics raycasting to check what UI element i press?
I need to be able to check if I am or am not pressing a scroll view for example. I won't go into detail, but Graphics raycast doesn't work for my particular needs, as the script needs to be attached to the canvas itself.
I need this to be on one GameObject rather than each canvas.
Comment
Your answer
Follow this Question
Related Questions
Raycast against UI in world space 4 Answers
How to prevent raycast when clicking 4.6 UI? 1 Answer
Unity UI - Select with Raycast (Screenspace - Camera) 0 Answers
When do _UseClipRect and _UseAlphaClip work in UI-Default.shader of newGUI? 0 Answers
Showing text using raycast, Calling UI text with raycast 1 Answer