docs.unity.cn
    Show / Hide Table of Contents

    Horizontal Space

    The <space> tag inserts a horizontal offset, as if you inserted multiple spaces.

    You can specify the offset in pixels or font units.

    When the <space> tag touches adjacent text, it appends or prepends the offset to that text, which affects how the text wraps. If you do not want the offset to wrap independently of adjacent text, make sure to add a space character on either side of the <space> tag.

    Example:

    Give me some <space=5em> space.
    


    Adding some space

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, December 16, 2022
    Terms of use