Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

Adjusting the character spacing and changing the font size

In our example, all the numbers are evenly spaced and the font size cannot be changed. It's very likely that you will want your numbers to be closer together or of a different font size. Let's alter our custom font so that the sprites are closer together. The following image shows our font after the adjustments versus the original created in the last part of this example:

To change the spacing of the characters, complete the following steps:

  1. Duplicate the CustomFont with Ctrl D and rename the duplicate to CustomFontTight. Open the Inspector of CustomFontTight.
  2. If you'd like the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content