Author Topic: Need Action for Unity UI  (Read 971 times)


  • Playmaker Newbie
  • *
  • Posts: 33
    • View Profile
Need Action for Unity UI
« on: November 28, 2015, 09:36:10 PM »
Hello All. I was wondering if there was anyone who could write an action to do an OnCancel like the OnClick button action for the Unity UI. From what I know there is a submit, cancel, etc. in the event trigger. I'm looking for an action that does what the cancel function does like in the event trigger component. Thanks in advance


  • Administrator
  • Hero Member
  • *****
  • Posts: 14109
  • Official Playmaker Support
    • View Profile
Re: Need Action for Unity UI
« Reply #1 on: November 30, 2015, 04:07:15 AM »

 the cancel is carried over as a boolean flag in the event data of the onEndEdit event.

so drop a PlayMakerUGuiComponentProxy, use the "On End Edit" event and then when you catch it in your fsm, use "GetEventData" and the boolean value, it will be true if the inputField "wasCanceled":