Author Topic: tweenalpha broken on 3.0.8  (Read 6973 times)

Lotti

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 47
    • View Profile
tweenalpha broken on 3.0.8
« on: December 30, 2013, 07:39:56 AM »
it requires UIRect that is abstract.

What is the bugfix to this problem? We used UIWidget instead of UIRect and all seems to work.

Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: tweenalpha broken on 3.0.8
« Reply #1 on: December 30, 2013, 12:59:43 PM »
UIWidget derives from UIRect. So does UIPanel. TweenAlpha can tween either of them. You must call TweenAlpha on the object that has either of them attached.

You can optionally remove the [RequireComponent] line above the TweenAlpha's class definition. I'll remove it on my end for the next release.

Lotti

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 47
    • View Profile
Re: tweenalpha broken on 3.0.8
« Reply #2 on: January 11, 2014, 10:59:45 AM »
thank you :)