docs.unity3d.com
    Show / Hide Table of Contents

    TextMesh Pro Documentation

    TextMesh Pro is a set of Unity tools for 2D and 3D text.

    [IMAGE]

    TextMesh Pro provides better control over text formatting and layout than to Unity's UI Text & Text Mesh systems. It includes features such as:

    • Character, word, line and paragraph spacing.
    • Kerning.
    • Justified text.
    • Links.
    • More than thirty rich text tags.
    • Support for multiple fonts.
    • Support for sprites.
    • Custom styles.
    • Advanced text rendering using custom shaders.

    Getting started

    The TextMesh Pro package is included in the Unity Editor. You do not need to install it.

    You can switch to other versions of TextMesh Pro from the Packages Window.

    To use TextMesh Pro, you must import the TMP Essential Resources package (see the next section).

    You can also import the TMP Examples & Extras package to help you learn TextMesh Pro.

    Importing required resources into projects

    To use TextMesh Pro in your projects, you need to import the TMP Essential Resources.

    • From the menu, select Window > TextMeshPro > Import TMP Essential Resources

    This adds the essential resources to the TextMesh Pro folder in the Project.

    Importing examples and additional resources

    TextMesh Pro also includes additional resources and examples to help you learn about various features.

    You can import these into your projects as well.

    • From the menu, select Window > TextMeshPro > Import TMP Examples & Extras

    This adds the examples and additional resources to the TextMesh Pro > Examples & Extras folder in the Project.

    Installing the TMP Examples & Extras is not mandatory, but is strongly recommended for first-time TextMesh Pro users.

    In This Article
    • Getting started
      • Importing required resources into projects
      • Importing examples and additional resources
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023