Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Ferazel 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!
-
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.