UI::​Text
UI::​MaskableGraphic
UI::​Text

class:/TYPE/UnityEngine.UI.Text//, can be loaded from an assetbundle using UI::Text::createfromassetbundle(bundlename,prefabname) /

Parent

UI::MaskableGraphic

Variables
alignbygeometry
System.Boolean alignbygeometry
alignment
UnityEngine.TextAnchor alignment
cachedtextgenerator
readonly UnityEngine.TextGenerator cachedtextgenerator
cachedtextgeneratorforlayout
readonly UnityEngine.TextGenerator cachedtextgeneratorforlayout
flexibleheight
readonly System.Single flexibleheight
flexiblewidth
readonly System.Single flexiblewidth
font
UnityEngine.Font font
fontsize
System.Int32 fontsize
fontstyle
UnityEngine.FontStyle fontstyle
horizontaloverflow
UnityEngine.HorizontalWrapMode horizontaloverflow
layoutpriority
readonly System.Int32 layoutpriority
linespacing
System.Single linespacing
maintexture
readonly UnityEngine.Texture maintexture
minheight
readonly System.Single minheight
minwidth
readonly System.Single minwidth
pixelsperunit
readonly System.Single pixelsperunit
preferredheight
readonly System.Single preferredheight
preferredwidth
readonly System.Single preferredwidth
resizetextforbestfit
System.Boolean resizetextforbestfit
resizetextmaxsize
System.Int32 resizetextmaxsize
resizetextminsize
System.Int32 resizetextminsize
supportrichtext
System.Boolean supportrichtext
text
System.String text
verticaloverflow
UnityEngine.VerticalWrapMode verticaloverflow
Functions
calculatelayoutinputhorizontal
System.Void CalculateLayoutInputHorizontal()
Returns

System.Void

calculatelayoutinputvertical
System.Void CalculateLayoutInputVertical()
Returns

System.Void

fonttexturechanged
System.Void FontTextureChanged()
Returns

System.Void

getgenerationsettings
UnityEngine.TextGenerationSettings GetGenerationSettings(
UnityEngine.Vector2 extents
)

UnityEngine.Vector2 extents-no documentation

Parameters

extents -

Returns

UnityEngine.TextGenerationSettings

ui::​text::​fromassetbundle
static UnityEngine.UI.Text CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.UI.Text

ui::​text::​gettextanchorpivot
static UnityEngine.Vector2 GetTextAnchorPivot(
UnityEngine.TextAnchor anchor
)

UnityEngine.TextAnchor anchor-no documentation

Parameters

anchor -

Returns

UnityEngine.Vector2