Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Rednaxela on February 28, 2014, 12:05:29 PM
-
Hello!
Please suggest how to to set embedded trueTypeFont for UILabel in code?
Thanks!
-
UILabel.ambigiousFont = yourFont;
-
Thanks for the reply!
But I meant how can I set exactly embedded font (in case of Windows it's Arial)?
-
Oh, that. Unity has Arial font present at all times. It shows up when you do a resources check, but it may not be there when you do a build. It's excluded from certain Windows 8 platforms for example. It's best not to use it for anything other than testing purposes.