- Home /
Question by
reppiz01 · Apr 27, 2015 at 09:51 AM ·
guitriggereventsystemevent triggeringpointer
Can I set a specific Pointer for the EventTrigger on Buttons for example?
hej! my problem is that I have Buttons, and I need to detect whether they are "clicked" or not. BUT - my Input does not come from a mouse, I get coordinates from an external software.
I would like to realise this with the eventsystem. I have a PointerEventData and when I get coordinates from the external software I set it. Then I do a graphical Raycast - and everything seems working fine.
My problem now is, that I don´t know how to use this PointerEventData as the "Pointer" for the GUI, that this one gets used for the EventTrigger (PointerEnter for example).
Hopefully you know what I mean and it was clear enough?
I would be very thankfull for any help!
Comment