playMaker

Author Topic: playmaker - 4.6 GUI  (Read 2699 times)

kinetiknz

  • Junior Playmaker
  • **
  • Posts: 85
    • View Profile
playmaker - 4.6 GUI
« on: January 19, 2015, 05:48:59 PM »
Does Playmaker support actions for the new GUI in Unity 4.2

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2487
  • Yup.
    • View Profile
    • Cleverous
Re: playmaker - 4.6 GUI
« Reply #1 on: January 19, 2015, 05:56:36 PM »
Wiki link
Under the Unity UI section.

Also this thread for various actions made while it was still in beta. Should still work, but we need to update, finish and package these properly. Read the whole thread before using please.

Its noteworthy that a significant amount of work can be done by using Set Property and Get Property when working with the new UI so take advantage of that feature. I've made entire options screens and start/pause menus without any special UI actions or event proxy.
« Last Edit: January 19, 2015, 06:00:00 PM by Lane »

kinetiknz

  • Junior Playmaker
  • **
  • Posts: 85
    • View Profile
Re: playmaker - 4.6 GUI
« Reply #2 on: January 19, 2015, 06:05:07 PM »
thanks Boss. get property was my first port of call, but I couldn't find attr's of the new GUI. I'll check again. Thanks

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2487
  • Yup.
    • View Profile
    • Cleverous
Re: playmaker - 4.6 GUI
« Reply #3 on: January 19, 2015, 06:14:32 PM »
Cool! Remember with Get/Set Property you have to drag in the Component/Script, not the GameObject.

binkley

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: playmaker - 4.6 GUI
« Reply #4 on: June 02, 2015, 03:35:18 AM »
I must be a complete idiot (which I'm sure I am) but exactly which property am I getting?  I have dragged the Button (Script) component from a button into my FSM and selected Get Property.  I was hoping to see an isClicked Boolean or something  similar in there but no such luck.

My next step is going to be Ecosystem, but for what I need done I just need the FSM to respond to the user clicking one of the buttons.

thanks

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2487
  • Yup.
    • View Profile
    • Cleverous
Re: playmaker - 4.6 GUI
« Reply #5 on: June 02, 2015, 04:16:01 AM »
There is an exhaustive list of actions on Ecosystem. Search for uGUI.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13001
  • Official Playmaker Support
    • View Profile
Re: playmaker - 4.6 GUI
« Reply #6 on: June 03, 2015, 12:45:15 AM »
Hi,

 also, you'll find on the ecosystem several samples showing integrations of uGui with PlayMaker. and it will show you how to respond to user clicks.

 typically, you'll need the "PlayMakerUGuiComponentProxy" to responds to button click, or "PlayMakerUGuiPointerEventsProxy" to respond to pointer events on any UI component

 Bye,

 Jean