I’m trying to implement a really simple behaviour on a button.
When it get pressed it calls a function passing a bool set as true and when it get released it calls the same function with false.
So I 've just attached an Event Trigger component to the button (Note: This button is part of the new GUI system that comes with Unity 4.6) and I’ve added the PointerDown and PointerUp event.
Here a screenshot of my configuration:
[32972-screen+shot+2014-09-26+at+19.35.44.png|32972]
If I try this code within Unity it works… if I build the project for iOS Only the pointerDown event get triggered, the pointerUp is never called. What do you think about that? is there a way to make it works on Mobile … or maybe is it just a bug of the 4.6 b17 version?