I have some Image UI Elements which represent buttons and I need to detect whether player touched them and if he’s still holding the button or not, any ideas?
The way I achieve that is by adding an EventTrigger component to the UI Element (say, an image) and then add a new event to it, like Pointer Down. Then, I assign the game object that will handle the event and select the proper function/operation from it.