Typography uses text to clearly convey information to the user. Typography can organize and emphasize information through the effective use of such elements as text size, styling, and fonts.
Unity Editor uses Inter as the primary font family on every platform. Inter is a font family designed to accommodate dense interfaces.
There are secondary fallback options that vary per OS that can be used if Inter cannot be used.
The Editor features a range of font sizing on elements and in menus.
Text styles are purposely limited to only a few font size options. The Unity Editor is a dense desktop software application and limiting the choice of font and styling options helps keep the interface cohesive and well defined.
Below is the primary type scale for Inter font family, with the corresponding variable names and usage guides.
Below is the secondary type scale for Verdana & Lucida Grande font family, with the corresponding variable names and usage guides.
Text in the Editor is left-aligned in windows, dialogs and most components including tabs, dropdowns, and menus. The only exception is in button labels, which are center aligned.
Input Field labels are also left-aligned on object fields or single-level values. Labels for individual values within a larger field (X and Y coordinates, for example) appear directly to the left of their boxes while their category label remains left-aligned. When entering information or placing an element into an input field the text will appear left-aligned as well.
For more information go to input field.
For interfaces that have lists, convey nesting / parenting relationships by indenting sub-item labels (and therefore text).
Examples of this appear in the arrangement of labels in the hierarchy, the Inspector, and the first tier of menus beneath their label (submenus have the same indentation as the initial menu).
Unity Editor uses 3 different line height styles.