Author Topic: UITooltip change that respects background transparency  (Read 2486 times)

cdevl

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
UITooltip change that respects background transparency
« on: June 26, 2013, 07:58:24 AM »
I've noticed that NGUI UITooltip module doesn't respect the alpha attribute on the tooltip background sprite. It will always lerp it from 0 to 1, doesn't matter what it was originally. So I made a small change that makes it lerp independently for text and background. As a result, it respects the transparency that is set in the Inspector. For those who are interested, the code is attached.