기술 자료

Unity Engine

Unity Engine

TextAlignment

How multiline text should be aligned.
읽는 시간 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.