Welcome,
Guest
. Please
login
or
register
.
May 06, 2026, 02:36:40 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Easy way to reset alpha?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Easy way to reset alpha? (Read 3290 times)
bmon3y
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
Easy way to reset alpha?
«
on:
January 09, 2015, 11:39:03 AM »
After a TweenAlpha fadeout is there an easy way to reset the alpha to 1 without re-Tweening?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Easy way to reset alpha?
«
Reply #1 on:
January 10, 2015, 12:39:11 PM »
Change the shape of the curve in inspector. Instead of going from A to B, make it go from A to B then at the every end abruptly go back to A.
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: Easy way to reset alpha?
«
Reply #2 on:
January 10, 2015, 06:03:43 PM »
Do you mean set the alpha of the widget, or make the Tweener be ready for a new go?
First is just taking the widget.alpha = 1;
Second, call myTweenerReference.ResetToBeginning().
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Easy way to reset alpha?