Files
GameDevTVObstacleDodge/Library/PackageCache/com.unity.ugui@f250afc9b68d/Documentation~/TextMeshPro/RichTextStrikethroughUnderline.md

17 lines
549 B
Markdown
Raw Normal View History

2026-01-08 16:50:20 +00:00
# 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](FontAssetsProperties.md#FaceInfo).
- 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](../images/TMP_RichTextStrikethroughUnderline.png)<br/>
_Strikethrough and underline_