Text & Fonts

1

Text Component

The component that will be drawn on the scene when importing texts from Figma. Available components:

  • UNITY TEXT (built-in)

  • TEXTMESHPRO (need TextMeshPro asset)

  • RTLTMPro (link)

2

Override TMP Letter Spacing

By default, the "Letter Spacing" value is not imported from Figma to Unity, as it is recommended to set this value manually in the TextMeshPro font file. If you enable this feature, the "Letter Spacing" value will be transferred from Figma to Unity for each individual text component.

3

Override TMP Line Spacing (px)

The same as in point 2, but for "Line Spacing".

4

Unity Text Settings

Special settings for the text component selected in "Text Component". This section will change depending on the chosen text component. You can read more about these settings in the "Text" or "TextMeshPro" documentation.

5

Font Settings

In this section, you can add fonts that the asset will use during the import of your project. The asset will pull fonts from serialized arrays, so you need to fill one of them based on your text component.

You can place fonts in the folder specified in the field and click the "Add Fonts from Current Folder" button to automatically load fonts from this folder into the serialized array.

You can specify a custom font folder using the button with the ellipsis.

The font folder must be located inside the "Assets" folder.

6

Google Fonts Settings

By connecting Google Fonts to Figma Converter for Unity, you can automatically download fonts during the import of your Figma project. This will only work for fonts available in the Google Fonts repository. You can learn more about this feature on the "Google Fonts" slide.

7

Font Asset Creator Settings

When importing fonts from Google Fonts, if you have TextMeshPro enabled, these settings will be used during the automatic conversion of regular fonts to TextMeshPro fonts. You can learn more about these settings in the Font Asset Creator documentation.

8

Download fonts button

Button for downloading and generating missing fonts without importing frames.
To use the button, you need to select a text component in the "UNITY COMPONENTS" tab, and then download the project using the download button (the import button does not need to be pressed).

Last updated