Welcome,
Guest
. Please
login
or
register
.
May 26, 2026, 08:59:35 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scrolling Status Bar
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scrolling Status Bar (Read 4376 times)
optimisticmonkey
Newbie
Thank You
-Given: 0
-Receive: 2
Posts: 15
Scrolling Status Bar
«
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
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Scrolling Status Bar
«
Reply #1 on:
December 15, 2013, 04:30:26 PM »
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.
Logged
optimisticmonkey
Newbie
Thank You
-Given: 0
-Receive: 2
Posts: 15
Re: Scrolling Status Bar
«
Reply #2 on:
December 16, 2013, 10:03:46 AM »
Thanks Aren - That worked perfectly!
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scrolling Status Bar