- Home /
Question by
kwall1992 · Aug 01, 2019 at 02:40 PM ·
eventeventsystemevent triggering
IPointerClickHandler works until I add IPointerDownHandler
OnPointerClick gets called correctly, until I implement IPointerDownHandler, then only OnPointerDown gets called. Think I may be missing some information about how these events might interfere with each other.
A google search using these terms just returned a bunch of people failing to get their callbacks called whatsoever. ,OnPointerClick gets called correctly unless I also implement the IPointerDownHandler interface, then only OnPointerDown gets called. Am I somehow unwittingly consuming the event?
A google search using these terms just returned a bunch of people failing to get their functions called at all.
Comment
Have you tried implementing OnPointerUpHandler too? Leave it empty if you don't need it, but it may fix your problem.