UnityGame/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextStrikethroughUnderline.md
2024-10-27 10:53:47 +03:00

549 B

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