Time for action rides again – creating Font Texture and Material

Ha! I knew you couldn't resist. In order to change the font of this GUIText, we need to import a font, hook it up to a Material, and apply that Material to the GUIText.

  1. Find a font that you want to use for your game clock. I like the LOLCats standby Impact. If you're running Windows, your fonts are likely to be in the C:\Windows\Fonts directory. If you're a Mac user, you should look in the /Library/Fonts/ folder. Stick with a .ttf (TrueType Font) if you want to have the most success.
  2. Drag the font into the Project panel in unity. The font will be added to your list of Assets. (Remember to create a Fonts folder to store it, if you want to keep your Project panel tidy).
  3. Right-click (or ...

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.