ドキュメント

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.