Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: optimisticmonkey on December 15, 2013, 03:43:40 PM
-
I am trying to implement a scrolling message along the bottom of the screen.
I have used Anchor and Stretch to position the UILabel on the bottom of the screen.
But when I add the TweenPosition it moves to the center of the screen.
I tried adding the TweenPosition in the start method, but the same problem persists - I don't think the anchor and stretch scripts have run yet?
What is the best approach to get a scrolling message bar across the bottom of the screen?
Thanks in advance for any help
-
Anchor and stretch components have been deprecated in the last version (3.0.7).
Either way though, you can't tween an anchored object. Anchor a game object, make your label a child of it, tween the child.
-
Thanks Aren - That worked perfectly!