Playmaker Forum
PlayMaker Help & Tips => Android Help => Topic started by: Alaric on July 21, 2014, 08:14:44 AM
-
I'm using the button GUI to activate a jump in my game. It seems that the action triggers on release only. Is there a way to have it trigger on press?
Any help would be great. Thanks. :)
-
I changed the action script to repeatbutton, but its causing it to trigger to many times...
-
Hi,
In Unity GUI, the default behavior is indeed to fire the event on release, not much to do about it, unless you program a very complex event management to catch mouse events and fire manually, but I would totally not recommand you to go that way.
instead, you should switch completly to a more powerful UI system such as Ngui or else. It's totally worth the effort.
Bye,
Jean
-
i am using touch drive controller it give bool action when on presshttp://www.unityracingkit.com/index.php/add-ons/touchdrive-pro/
-
Hi,
How did you scripted this to work with PlayMaker?
Bye,
Jean
-
i am using get action it will give bool true when the button was pressed