Fonts

From ETC Public Wiki
Jump to: navigation, search

Add a Font

To add a font for use in Unity just add the .ttf file into the project Assests.


To change the color

each font has a material and texture associated with it.

Open up the font asset to find these.

select the font material

make sure that the provided font texture is loaded into the material

change the Text Color swatch.

assign this font texture to the GUIText objects Material slot.

>>>>> I have seen the text color revert to white when the Project is saved

OR

Create a new material and name it something

Set it's shader to GUI/Text Shader

Drag the font Texture to the materials texture slot

Set the Text Color

Assign this material to the GUIText objects Material slot.