ドキュメント

Unity Engine

Unity Engine

TextAnchor

Where the anchor of the text is placed.
読み終わるまでの所要時間 1 分最終更新 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.