playMaker

Author Topic: Unity UI proxy  (Read 4886 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Unity UI proxy
« on: December 01, 2014, 01:45:01 AM »
Hi,

 Please find the Unity UI proxy which allows you to connect UI events and values to PlayMaker.


 I made a quick video to introduce the system. It's very similar to how Actions works. you can fire events, but also directly set variables, which is a very important feature to free your fsm from having to implement any logic!

 
Bye,

 Jean

mdotstrange

  • Hero Member
  • *****
  • Posts: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Unity UI proxy
« Reply #1 on: December 01, 2014, 02:09:18 AM »
Awesome  :) Thank you Jean!
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

escpodgames

  • Hero Member
  • *****
  • Posts: 686
    • View Profile
    • Assets
Re: Unity UI proxy
« Reply #2 on: December 01, 2014, 02:17:30 AM »
Looks Awesome!
« Last Edit: December 01, 2014, 01:06:12 PM by LampRabbit »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: Unity UI proxy
« Reply #3 on: December 02, 2014, 01:00:05 AM »
Hi,

 yes, in a second pass, as it will be more complex to get up and running. but yes we need this as well indeed!

 Bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 686
    • View Profile
    • Assets
Re: Unity UI proxy
« Reply #4 on: December 02, 2014, 02:26:11 AM »
Ah excellent! I'm just learning the new UI now, your proxy works a treat!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: Unity UI proxy
« Reply #5 on: December 02, 2014, 08:41:20 AM »
Hi,

 Yes, thanks :) make use of the "set fsm variable" option when available it makes things so much easier, cause you don't need to implement any logic to get the data, it's there already and you can rely on the fsm variable as is.

 Bye,

 Jean

Dev_Sebas

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 398
    • View Profile
    • Blog
Re: Unity UI proxy
« Reply #6 on: December 02, 2014, 09:34:12 AM »
Nice, thanks Jean!
Just noticed in your video at 2:20 the float slider variable donĀ“t change inside playmaker, only at inspector. Any concatenation problem?
Cheers
Seb

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: Unity UI proxy
« Reply #7 on: December 02, 2014, 09:41:27 AM »
Hi,

 Yes, well spotted, hence why I made it "show in inspector", because there it updates properly.

 I think this is for optimization concerns because this tab isn't really something that should be viewed at runtime, its more during the creation and so there is no need to try and update it live, but I do agree it feels clunky.

 Bye,

 Jean

Dev_Sebas

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 398
    • View Profile
    • Blog
Re: Unity UI proxy
« Reply #8 on: December 02, 2014, 09:47:46 AM »
Ok ;D
This events will be very important!
Cheers
Seb

lukew

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: Unity UI proxy
« Reply #9 on: December 03, 2014, 08:59:11 AM »
Great to see this. I was looking for a way to set the FSM variables from the uGUI. Thanks!

fudge

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: Unity UI proxy
« Reply #10 on: December 03, 2014, 09:36:55 AM »
Thanks Jean !

But This pack will be there you updated with new transition?


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: Unity UI proxy
« Reply #11 on: December 04, 2014, 11:04:15 PM »
Hi,

 Sorry, can you rephrase?

Bye,

 Jean

fudge

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: Unity UI proxy
« Reply #12 on: December 05, 2014, 08:49:14 AM »
Sorry, I'm french ^^  :-[

this pack will be updated with news actions? 

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: Unity UI proxy
« Reply #13 on: December 05, 2014, 10:08:56 AM »
Pas de soucie :)

 Yes, This will be also a package that will feature more and more content, including actions.

 Right now, you can get actions from the Ecosystem browser already or on this forum around, there are fews already.

 Bye,

 Jean

nabilfx

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Re: Unity UI proxy
« Reply #14 on: September 12, 2015, 03:16:10 PM »
Jean, how can i exit or reset the button function, to another button on press?

I have 3 buttons, with three different objects in each, but when I press the button, the object appears, and when I press another button the object appears over the previous and not disappear, how can I fix this so when I press another button the object disappears and appears the button object that I am pressing?