docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Strikethrough and Underline

    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.

    You can add additional lines that run along your text.

    • The <underline> tag draws the line slightly below the baseline to underline the text. The vertical offset is defined in the Font Asset.

    • The <strikethrough> tag places the line slightly above the baseline so it crosses out the text.

    Example:

    The <s>quick brown</s> fox jumps over <u>the lazy dog</u>.
    


    Strikethrough and underline

    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)