Rasagar/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/include-tmpobject-spacing.md
2024-08-26 23:07:20 +03:00

789 B

Spacing

These options control spacing between characters, words, lines and, paragraphs. You can use them to fine-tune the text for individual TextMesh Pro GameObjects, without adjusting their font assets.

Example image

To control spacing within a single TextMesh Pro GameObject, use rich text tags.

Property: Function:
Character Set the spacing between characters for this TextMesh Pro GameObject.
Word Set the spacing between words for this TextMesh Pro GameObject.
Line Set the spacing between lines for this TextMesh Pro GameObject.
Paragraph Set the spacing between paragraphs for this TextMesh Pro GameObject.

Paragraphs are defined by explicit line breaks.