docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Style

    Important

    This package is deprecated. From Unity 2023.2, TextMesh Pro is part of the Unity UI (uGUI) package. For current documentation, refer to TextMesh Pro in the Unity UI package.

    Apply custom styles using the <style> tag. For more information about creating custom styles, see the documentation on Style Sheets.

    The opening <style> tag must contain the style name. The closing </style> tag, which simply closes the last style opened.

    Example:

    <style="Title">Styles</style>
    You can create your own.
    


    Applying a custom style

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)