UnityEngine.UI.Text
class UnityEngine.UI.Text
Fields and Properties:
- UnityEngine.TextGenerator cachedTextGenerator
- UnityEngine.TextGenerator cachedTextGeneratorForLayout
- UnityEngine.Texture mainTexture
- UnityEngine.Font font
- string text
- bool supportRichText
- bool resizeTextForBestFit
- int resizeTextMinSize
- int resizeTextMaxSize
- UnityEngine.TextAnchor alignment
- bool alignByGeometry
- int fontSize
- UnityEngine.HorizontalWrapMode horizontalOverflow
- UnityEngine.VerticalWrapMode verticalOverflow
- float lineSpacing
- UnityEngine.FontStyle fontStyle
- float pixelsPerUnit
- float minWidth
- float preferredWidth
- float flexibleWidth
- float minHeight
- float preferredHeight
- float flexibleHeight
- int layoutPriority
Methods:
- void FontTextureChanged()
- UnityEngine.TextGenerationSettings GetGenerationSettings(UnityEngine.Vector2)
- (static) UnityEngine.Vector2 UnityEngine.UI.Text.GetTextAnchorPivot(UnityEngine.TextAnchor)
- void CalculateLayoutInputHorizontal()
- void CalculateLayoutInputVertical()
- void OnRebuildRequested()