Custom fonts

You can create a custom font by selecting Create | Custom Font from the project window. To use a custom font, you will need a font material and font texture. How to do this is covered in the Examples section of this chapter. Once you create your custom font, you will be given the following properties to set:

  • The Line Spacing property specifies the distance between each line of text.
  • The Ascii Start Offset property defines the first ASCII character in the font's character set. For example, if you created a font that only included numbers, your character set would start with the number 0, which is ASCII index 48. Therefore, you ...

Get Mastering UI Development with Unity 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.