playMaker

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

kinetiknz

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

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: playmaker - 4.6 GUI
« Reply #1 on: January 19, 2015, 07: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, 08:00:00 PM by Lane »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

kinetiknz

  • Junior Playmaker
  • **
  • Posts: 85
Re: playmaker - 4.6 GUI
« Reply #2 on: January 19, 2015, 08: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: 2511
  • Mender of the past
    • Cleverous
Re: playmaker - 4.6 GUI
« Reply #3 on: January 19, 2015, 08:14:32 PM »
Cool! Remember with Get/Set Property you have to drag in the Component/Script, not the GameObject.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

binkley

  • Guest
Re: playmaker - 4.6 GUI
« Reply #4 on: June 02, 2015, 06: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: 2511
  • Mender of the past
    • Cleverous
Re: playmaker - 4.6 GUI
« Reply #5 on: June 02, 2015, 07:16:01 AM »
There is an exhaustive list of actions on Ecosystem. Search for uGUI.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: playmaker - 4.6 GUI
« Reply #6 on: June 03, 2015, 03: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