have been sitting at this problem the whole day, and I need some help from you guys.
Basically in my have multiple sprites which need to have Event Triggers. I know they are easy to implement and I have played around with applying Event Triggers to buttons, but I have recognized several bugs that appeared, so I cannot work with buttons.
The idea is when sprite is pressed longer (pressed on hold) I would like to lamp to work in my, but when it is released it would turn off.
So far I have added Collider, Rigidbody and Event Trigger to my sprite, but nothing seems to be working. I cannot even Debug a message from the method. If I do the same thing with UI Button not the Sprite, then everything works finem, but in my case I need Sprite to work.
Any ideas on how to fix my problem?