Author Topic: Best way to change sprite and label color?  (Read 4634 times)

AGB

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 74
    • View Profile
    • Steam Defense
Best way to change sprite and label color?
« on: April 01, 2014, 05:16:58 AM »
I would like to change button sprite on hover and label color. IS the only way to do it - make 2 UIButton scripts on same gameobject?
I'm a busy man... I have places to go,monsters to kill...

AGB

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 74
    • View Profile
    • Steam Defense
Re: Best way to change sprite and label color?
« Reply #1 on: April 01, 2014, 09:49:18 AM »
Or what is the best solution to change 2 sprites onHover?
I'm a busy man... I have places to go,monsters to kill...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Best way to change sprite and label color?
« Reply #2 on: April 01, 2014, 10:44:22 AM »
Yes, two button scripts will work fine, or one button and one UIButtonColor.