- Home /
Question by
elpair · Jul 13, 2021 at 11:47 AM ·
meshcanvasui image2d sprites
EventSystem for Canvas Tight Mesh
Hi, I'm currently putting together some Pokemon similar battle system. It is all done in canvas. The sprites use 'Tight' meshes and I also ticked the option 'Use Sprite Mesh' on the Image itself.
Looking at the wireframes and Overdraw view, the meshes look fine, but the UI Events from the Unity EventSystem, such as 'OnPointerEnter' are stille triggered, when entering the rectangle mesh, instead of the sprite mesh.
Is this even possible to trigger the events only when entering the actual mesh of a UI Image or do I need to use SpriteRenderer?
Appreciate the help!
Overdraw view:
screenshot-2021-07-13-134045.png
(8.4 kB)
Comment