playMaker

Author Topic: Unity UI proxy  (Read 8791 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity UI proxy
« Reply #15 on: September 14, 2015, 03:10:53 AM »
Hi,

 I am not sure I fully understand what you mean, but let me try:

 You have a button with 3 possible icons right?

 if you want good control over when to show a particular icon, I would have a specific fsm dealing with thi icon, possibly on the icon itself.

 That fsm will listen to all the various inputs that affects this icon and will show hide accordingly, the fact that you have only one fsm responsible for tit means you can have a reference of the 3 icon sprites and show hide them accordingly, it's better than trying to deal with this from several fsms.


 Bye,

 Jean