import font into unity code example
Example 1: import font into unity
Here's what I had to do:
Put the fonts you want to use into the asset folder (or a fonts folder in your asset folder).
Now in the Unity project explorer, right click the font.
Click Create > TextMeshPro > Font Asset.
Now you will be able to use it as a font with your TextMeshPro text.
Example 2: import font into unity
Here's what I had to do:
Put the fonts you want to use into the asset folder (or a fonts folder in your asset folder).
Now in the Unity project explorer, right click the font.
Click Create > TextMeshPro > Font Asset.
Now you will be able to use it as a font with your TextMeshPro text.