- Home /
How to get input events working on MaskableGraphic correctly
I am using a UI object derived from MaskableGraphic. Input events do work but seem to be driven by the RectTransform rather than the underlying mesh.
I have tested this by clicking in a part of the element that is empty and the events still fire.
The only other solution I can come up with is to implement ICanvasRaycastFilter and manually raycast the underlying mesh, if it would even work.
All of this is done in script as it is all data driven at runtime.
I have added the following to the scene
EventSystem
Graphic RayCaster on Camera
is there another way to do this correctly?
Your answer
Follow this Question
Related Questions
Canvas appearing over my cursor doesn'tr trigger OnPointerExit ! 0 Answers
Force EventSystem to updating when application not in focus 1 Answer
Best way to disable all UI events except for one button 0 Answers
Navigating UI Buttons with Arrow Keys not working 1 Answer
Why Does IsPointerOverGameObject Not Work with GUILayout Controls? 0 Answers