playMaker

Author Topic: Playmaker ugui component (with slider) name change  (Read 2476 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Playmaker ugui component (with slider) name change
« on: January 23, 2015, 01:06:59 PM »
Using the 'playmaker UGui component' script' for UI components.  If you set the FSM local float variable for a slider then change the variable name later, it won't work any more.  You have to delete the script and put a new one on the slider.

So, I create a slider. 
I create a float variable. 
I put a FSM on it. 
I put the playmakeruguicomponet script on it.  the settings are 'use owner', 'set fsm variable', 'owner', 'fsm' and 'sloder-FLOAT'.

Now later I realized I misspelled the local FSM variable.  I change it to 'slider-FLOAT'.  Now the slider will not work.  You have to remove the playmaker script 'playmakeruguicompnent' and put a new one on again and obviously redo the actions.

Edit:
Also, if you copy the slider and paste it to make 2nd slider, it won't work as well.
Also, I have not been able to get more than 1 slider working on screen at the same time.  I even tried putting them on different canvases.
« Last Edit: January 23, 2015, 01:41:56 PM by wheretheidivides »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker ugui component (with slider) name change
« Reply #1 on: February 22, 2017, 01:42:04 AM »
Hi,

 I can't replicate this.

 If you could do a screencast so that I can see your exact steps, I'll check.

 Bye,

 Jean