Files
RaidersRPG/Library/PackageCache/com.unity.ugui@a0f5d16b3c82/Documentation~/TextMeshPro/RichTextVOffset.md
SHOUTING_PIRATE 3d2d2dc3e3 Initial commit
2025-07-01 21:03:21 +01:00

619 B

Vertical Offset

Use the <voffset> tag to offset the text baseline vertically. This adjusts the line height accordingly to accommodate the text's offset position. You can compensate for that adjustment by manually adjusting the line height.

Specify the offset in pixels or font units. The offset is always relative to the original baseline.

The </voffset> closing tag resets the baseline back to its original position.

Example:

Up <voffset=1em>up <voffset=2em>UP</voffset> and <voffset=-0.5em>down</voffset> we go again.

Example image
Vertical offset