Author Topic: Label color is not changed when button is disabled.  (Read 2691 times)

Kichang Kim

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Label color is not changed when button is disabled.
« on: August 31, 2012, 09:55:49 AM »
Hi, I have some simple question.

When I set button to disabled (isEnabled = false), the color of button's label was not changed. Only background sprite's color was changed. Is this bug or not?

NGUI version is 2.1.6 and unity 3.5.5f3.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Label color is not changed when button is disabled.
« Reply #1 on: August 31, 2012, 02:24:22 PM »
That's how it was set up. You can add another UIButton script and set it to affect the color of the label.