Author Topic: 3.0.7f3 TweenAlpha UIRect  (Read 1726 times)

Ferazel

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 150
    • View Profile
3.0.7f3 TweenAlpha UIRect
« on: December 18, 2013, 01:23:20 PM »
We upgraded our components and we found that our game crashed due to changes in how TweenAlpha finds its UIRect. I just want to bring it to your attention so you can be made aware.

In most tween classes the target is found via GetComponentInChildren but in TweenAlpha it is only GetComponent. Were you going to change the other tweens to use GetComponent or was it a mistake in TweenAlpha? Or is there a reason why one uses one method and one uses the other?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 3.0.7f3 TweenAlpha UIRect
« Reply #1 on: December 18, 2013, 05:41:44 PM »
There are only two tweens that use GetComponentInChildren. TweenColor, and TweenVolume. So to say that "most tween classes" use GetComponentInChildren is a bit misleading :)

It should be GetComponent everywhere.