ドキュメント

Unity Engine

Unity Engine

TextAlignment

How multiline text should be aligned.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TextRenderingModule
public enum TextAlignment

Remarks

This is used by the TextMesh.alignment property.

Fields

Value

Description

CenterText lines are centered.
LeftText lines are aligned on the left side.
RightText lines are aligned on the right side.