Class GUIText
Assembly: UnityEngine.dll
Syntax
[Obsolete("This component is part of the legacy UI system and will be removed in a future release.", false)]
public sealed class GUIText : GUIElement
Properties
alignment
Declaration
public TextAlignment alignment { get; set; }
Property Value
anchor
Declaration
public TextAnchor anchor { get; set; }
Property Value
color
Declaration
public Color color { get; set; }
Property Value
font
Declaration
public Font font { get; set; }
Property Value
fontSize
Declaration
public int fontSize { get; set; }
Property Value
fontStyle
Declaration
public FontStyle fontStyle { get; set; }
Property Value
lineSpacing
Declaration
public float lineSpacing { get; set; }
Property Value
material
Declaration
public Material material { get; set; }
Property Value
pixelOffset
Declaration
public Vector2 pixelOffset { get; set; }
Property Value
richText
Declaration
public bool richText { get; set; }
Property Value
tabSize
Declaration
public float tabSize { get; set; }
Property Value
text
Declaration
public string text { get; set; }
Property Value
Extension Methods