Author Topic: how to using color as theme ?  (Read 2473 times)

json1

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
how to using color as theme ?
« on: June 22, 2014, 06:20:38 AM »
I have problem when i desire to change color of my interface button - i need to replace it everywhere , how i can define common color - ( for exampe = ButtonColor:(R,G,B) ) and it can be applyable for all buttons with attached style ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: how to using color as theme ?
« Reply #1 on: June 22, 2014, 11:23:16 PM »
If your button is a prefab, you only need to change it in one place. This is why NGUI's example controls are prefabs. Otherwise it's a lot more difficult -- you need to select all your buttons.