Answers for "unity how to get font unity"

C#
3

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.
Posted by: Guest on June-11-2021
0

unity get default font

Resources.GetBuiltinResource<Font>("Arial.ttf")
Posted by: Guest on August-21-2021

C# Answers by Framework

Browse Popular Code Answers by Language