Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Padenlee on February 19, 2015, 01:05:31 PM

Title: UGUI button, fire On Click/Hover transition with action
Post by: Padenlee on February 19, 2015, 01:05:31 PM
Hi Playmaker community!

I've been searching all around for this info, my Google-fu is quite strong.

I'm needing to fire the transition of a UGUI Button. Is there a way to do that with an action?

If not,

could someone slap that together?

Keep being awesome!
Title: Re: UGUI button, fire On Click/Hover transition with action
Post by: jeanfabre on February 19, 2015, 01:26:44 PM
Hi,

 Can you try this?

http://answers.unity3d.com/questions/820599/simulate-button-presses-through-code-unity-46-gui.html

 it seems that indeed you can execute from code a transition, and so if that works for you, I'll look into making actions to do this.

Bye,

 Jean