
We often need an invisible area that can still respond to clicks. So UI Raycast Zone is here.✨ Why use UIRaycastZone?We often need an invisible area that can still respond to clicks.Typical use cases include:- Virtual joysticks- Full-screen click masks- “Non-transparent clickable areas” in tutorial overlays✨ Why use UIPolygonRaycastZone?Sometimes the clickable area we need is not a rectangle, but an arbitrary polygon shape. Typical use cases include:- Irregular buttons (hexagons, circles, stars, etc.)- Polygonal regions on a game map- Tutorial overlays with “cut-out” or non-rectangular clickable zonesMany developers are used to using the Image component with transparency to handle this, but this approach still:✖ Generates draw calls✖ Increases fillrate overhead✖ Causes GPU loadMaskableGraphic itself has raycast detection capability RaycastTarget.Override OnPopulateMesh to clear vertex data, so no image is rendered.Keep RaycastTarget enabled to receive click events normally.✅ Optimized with zero logic overhead on real devices.