Quick tip on how to use custom fonts in Unity3D

In this post I'm going to show you how to use custom fonts in Unity3D.


demo  forkMe

  1. Create a new project
  2. Save scene (CTRL + s) and name it whatever you wish
  3. Download some free font from the web (I used Texas Grunge from dafont.com):
  4. Create a new folder called Fonts in the Assets folder and drag the .ttf  file inside
  5. Adjust the size of the Camera to 8:
  6. Hierarchy->Create->UI->TextAddingText
  7. Click on Canvas in Hierarchy and set the Render Mode and select your Render Camera:CanvasRenderMode
  8. Click on Text and change the settings (Rect Transform - resize the text to match the canvas size and drag the anchors in all 4 corners, Text, Font, Best Fit, Max Size):
Written by Nikola Brežnjak