C# Class UnityEngine.UI.Text

Inheritance: UnityEngine.UI.MaskableGraphic, ILayoutElement
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Protected Properties

Свойство Type Description
s_DefaultText UnityEngine.Material

Méthodes publiques

Méthode Description
CalculateLayoutInputHorizontal ( ) : void

Called by the layout system.

CalculateLayoutInputVertical ( ) : void

Called by the layout system.

FontTextureChanged ( ) : void

Called by the [FontUpdateTracker] when the texture associated with a font is modified.

GetGenerationSettings ( Vector2 extents ) : TextGenerationSettings

Convenience function to populate the generation setting for the text.

GetTextAnchorPivot ( TextAnchor anchor ) : Vector2

Convenience function to determine the vector offset of the anchor.

OnRebuildRequested ( ) : void

Méthodes protégées

Méthode Description
OnDisable ( ) : void

See MonoBehaviour.OnDisable.

OnEnable ( ) : void
OnPopulateMesh ( VertexHelper toFill ) : void
OnValidate ( ) : void
Reset ( ) : void
Text ( ) : System
UpdateGeometry ( ) : void

Private Methods

Méthode Description
AssignDefaultFont ( ) : void

Method Details

CalculateLayoutInputHorizontal() public méthode

Called by the layout system.

public CalculateLayoutInputHorizontal ( ) : void
Résultat void

CalculateLayoutInputVertical() public méthode

Called by the layout system.

public CalculateLayoutInputVertical ( ) : void
Résultat void

FontTextureChanged() public méthode

Called by the [FontUpdateTracker] when the texture associated with a font is modified.

public FontTextureChanged ( ) : void
Résultat void

GetGenerationSettings() public méthode

Convenience function to populate the generation setting for the text.

public GetGenerationSettings ( Vector2 extents ) : TextGenerationSettings
extents Vector2 The extents the text can draw in.
Résultat UnityEngine.TextGenerationSettings

GetTextAnchorPivot() public static méthode

Convenience function to determine the vector offset of the anchor.

public static GetTextAnchorPivot ( TextAnchor anchor ) : Vector2
anchor TextAnchor
Résultat Vector2

OnDisable() protected méthode

See MonoBehaviour.OnDisable.

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

OnPopulateMesh() protected méthode

protected OnPopulateMesh ( VertexHelper toFill ) : void
toFill VertexHelper
Résultat void

OnRebuildRequested() public méthode

public OnRebuildRequested ( ) : void
Résultat void

OnValidate() protected méthode

protected OnValidate ( ) : void
Résultat void

Reset() protected méthode

protected Reset ( ) : void
Résultat void

Text() protected méthode

protected Text ( ) : System
Résultat System

UpdateGeometry() protected méthode

protected UpdateGeometry ( ) : void
Résultat void

Property Details

s_DefaultText protected_oe static_oe property

protected static Material,UnityEngine s_DefaultText
Résultat UnityEngine.Material