Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Alessaint on November 25, 2013, 10:09:09 AM

Title: Alpha tween and UILabel
Post by: Alessaint on November 25, 2013, 10:09:09 AM
If I use Alpha Tween to fade  in UILabel which has its text colored with text [FF0000] tags, the text fades in white containg the color formating tags. Is this a bug or an itended behavior?
Title: Re: Alpha tween and UILabel
Post by: ArenMook on November 25, 2013, 07:01:03 PM
I just did a quick test -- new scene, ALT+SHIFT+L, gave it "New [99ff00]Label[-] huh" text, added a tween alpha to it, set "From" to 0, hit Play... works fine?
Title: Re: Alpha tween and UILabel
Post by: Alessaint on November 26, 2013, 03:24:09 AM
Thanks for the quick reply. I looked deeper into that and found out that the cause wasn't actually the alpha tween but there was also the typewriter effect from one of your examples component active on that label - which obviously doesn't take color formating into account (which I can fix quite easily).