기술 자료

Unity Engine

Unity Engine

TextAnchor

Where the anchor of the text is placed.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

This is used by anchor property.

Fields

Value

Description

LowerCenterText is anchored in lower side, centered horizontally.
LowerLeftText is anchored in lower left corner.
LowerRightText is anchored in lower right corner.
MiddleCenterText is centered both horizontally and vertically.
MiddleLeftText is anchored in left side, centered vertically.
MiddleRightText is anchored in right side, centered vertically.
UpperCenterText is anchored in upper side, centered horizontally.
UpperLeftText is anchored in upper left corner.
UpperRightText is anchored in upper right corner.