- Home /
Blinking words using NGUI
I'm using NGUI and I want a word within a UILabel to blink. I want centre justification on the label, and the string needs to be localisable.
I thought I'd be able to use the colour tagging, so I extended that to support colours of the format [RRGGBBAA], and this works unless I use outlining, in which case the outline always renders.
So, is there an easy way to turn off outline rendering for individual characters? Or is there a simpler way of doing what I'm trying to do here?
Can you bake the outline into your bitmap font, ins$$anonymous$$d of doing the effect at runtime?
Answer by HansBernd · Jan 11, 2013 at 12:47 PM
I guess you found a solution to your problem.
So I am asking: How did you make ngui support the [RRGGBBAA] format. I am trying to realize a fade in effect for individual letters.
Would be appreciated lots!
Answer by FritzBraun · Jan 11, 2013 at 01:44 PM
(I wanted to post this as a comment, but then you don't seem to be able to attach files)
I hacked it [RRGGBBAA] support myself. It's not pretty, but I've attached the relevant files should you want them. link text