Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: gyd on September 22, 2016, 02:44:44 AM
-
is it possible to add a tag to switch font in a label like:
He is a Super Star, I love him.
or even a tag to change the font size :
He is a [size=36]Super Star[/size], I love him.
thanks
-
No, NGUI's labels don't allow font switching in the middle of the line. You can use [ sub ] and [ sup ] tags, as well as [ b ] and [ i ], but that's it.
-
yes, i know it's not for now, what i asked is...will it possible in the future updates :D?
-
I may add support for multiple bitmap fonts at some point, assuming they all use the same atlas -- but it would be a "maybe". I tend to add features I find concrete use for. Adding font switching in the middle of text never seemed like a useful thing for game UIs.
-
okay, thanks anyway :)