文档

Unity Engine

Unity Engine

HorizontalAlignment

How text is horizontally aligned within its layout area.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum HorizontalAlignment

Fields

Value

Description

CenterText is centered within the layout area.
FlushSpaces are stretched so every line, including the last, fills the layout area.
JustifiedSpaces are stretched so lines fill the layout area; the last line stays left-aligned.
LeftText is aligned to the left of the layout area.
RightText is aligned to the right of the layout area.