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

538 B

Indentation

The <indent> tag controls the horizontal caret position the same way the <pos> tag does, but the effect persists across lines.

Use this tag to create text patterns, such as bullet points, that work with word-wrapping.

You specify indentation in pixels, font units, or percentages.

Example:

1. <indent=15%>It is useful for things like bullet points.</indent>
2. <indent=15%>It is handy.

Example image
Using indentation to make a list.