docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Strikethrough and Underline

    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>.
    

    Example image
    Strikethrough and underline

    In This Article
    Back to top
    Copyright © 2025 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)