Using style sheets
In addition to the markup tags described in the preceding section, TextMeshPro objects can also use style sheet tags. As you may recall from Figure 10.9, the TextMeshPro - Text (UI) component has a property labeled Text Style with ten options in its dropdown. From there, you can select any one of the styles shown in the following figure:
Figure 10.28: The various default styles from the default style sheet
All of these styles are pre-defined by the Default Style Sheet option that’s assigned for the TextMeshPro Settings within the Project Settings (as we discussed in the TextMeshPro Project Settings section).
Figure 10.29: The Default Style Sheet setting from the Project Settings
Clicking on the Default Style Sheet (TMP_Style Sheet)
object within the Project Settings will select the Default Style Sheet
within the Assets
folder:
Figure 10.30: The Default Style Sheet asset...