- Home /
Question by
normus28 · May 10 at 04:40 PM ·
raycastinguser interfacemesh manipulation
Raycasting on UI graphic with custom shape
I made custom UI mesh using OnPopulateMesh() method. It is supposed to be used as radial menu. My shape looks like this:
Unfortunately OnPointerDown() method gets called on whloe rect, not only the mesh surface. Is there any possibility to make PointerEvents work only on the surface of the mesh?
zrzut-ekranu-2022-05-10-183359.png
(10.5 kB)
Comment