Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Have a panel receive events but not block the raycast?

$
0
0
So I am using the EventSystem with a PhysicsRaycaster in the camera to get events such as clicks,drags, and other stuff in objects that have colliders.

Problem is that I also need to catch any event action in the screen when the user scrolls and drags to pan around and zoom with camera but I'm trying to add a UI panel to get those events but then it blocks any events that would hit the other objects with colliders since they are "under" the UI panel.

I've tried to set the physics raycaster...

Have a panel receive events but not block the raycast?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>