Author Topic: Best way to make controls active / inactive?  (Read 1292 times)

DuaneDog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
Best way to make controls active / inactive?
« on: March 02, 2014, 05:42:54 AM »
The problem I'm having is that when ever the controls get populated with data inactive text color seems to get change to white. What is the best way to toggle a set of uiinput fields from enabled to disabled and have it so the end user can tell so they are not trying to edit fields that are disabled?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Best way to make controls active / inactive?
« Reply #1 on: March 02, 2014, 06:56:33 PM »
Text gets changed to white? I'm not sure what you mean here. If you want to disable something, disable its collider. If you want to show that it's disabled, just change its color.