Open FatBasic opened 12 years ago
The easiest way of getting a custom font into FFWD is to use the GUI system and change the font by creating a normal XNA spritefont (either by XML or a texture) and load it in in Game1.LoadContent like this:
GUI.spriteFont = Content.Load
The GUI will now use that font when drawing GUI stuff.
What system are you using for fonts in Unity?
I'm just using the normal importing of fonts of .ttf format in Unity.
The reason is that I'm using multiple fonts, for menu, hud and so on. If it stays this way I will just make some few hacks for having multiple fonts, so it's not that big a deal :)
So you are using GUIText in Unity? There is no support for it ATM. But I will keep the issue open and see if it can be implemented easily.
Thomas Gravgaard Senior Software Developer Press Play ApS thomas@pressplay.dk +45 26 74 26 74
Nope, I just use the UnityEngine.Font for use in my GUIStyles :)
Implementation of custom font. Currently only the standard GUIFont is available.