Show / Hide Table of Contents

Class TextContainer

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
UIBehaviour
TextContainer
Inherited Members
UIBehaviour.Start()
UIBehaviour.OnDestroy()
UIBehaviour.IsActive()
UIBehaviour.OnValidate()
UIBehaviour.Reset()
UIBehaviour.OnBeforeTransformParentChanged()
UIBehaviour.OnTransformParentChanged()
UIBehaviour.OnDidApplyAnimationProperties()
UIBehaviour.OnCanvasGroupChanged()
UIBehaviour.OnCanvasHierarchyChanged()
UIBehaviour.IsDestroyed()
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
[ExecuteInEditMode]
[RequireComponent(typeof(RectTransform))]
[AddComponentMenu("Layout/Text Container")]
public class TextContainer : UIBehaviour

Constructors

| Edit this page View Source

TextContainer()

Declaration
public TextContainer()

Properties

| Edit this page View Source

anchorPosition

Declaration
public TextContainerAnchors anchorPosition { get; set; }
Property Value
Type Description
TextContainerAnchors
| Edit this page View Source

corners

Declaration
public Vector3[] corners { get; }
Property Value
Type Description
Vector3[]
| Edit this page View Source

hasChanged

Declaration
public bool hasChanged { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

height

Declaration
public float height { get; set; }
Property Value
Type Description
float
| Edit this page View Source

isAutoFitting

Declaration
public bool isAutoFitting { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

isDefaultHeight

Declaration
public bool isDefaultHeight { get; }
Property Value
Type Description
bool
| Edit this page View Source

isDefaultWidth

Declaration
public bool isDefaultWidth { get; }
Property Value
Type Description
bool
| Edit this page View Source

margins

Declaration
public Vector4 margins { get; set; }
Property Value
Type Description
Vector4
| Edit this page View Source

pivot

Declaration
public Vector2 pivot { get; set; }
Property Value
Type Description
Vector2
| Edit this page View Source

rect

Declaration
public Rect rect { get; set; }
Property Value
Type Description
Rect
| Edit this page View Source

rectTransform

Declaration
public RectTransform rectTransform { get; }
Property Value
Type Description
RectTransform
| Edit this page View Source

size

Declaration
public Vector2 size { get; set; }
Property Value
Type Description
Vector2
| Edit this page View Source

textMeshPro

Declaration
public TextMeshPro textMeshPro { get; }
Property Value
Type Description
TextMeshPro
| Edit this page View Source

width

Declaration
public float width { get; set; }
Property Value
Type Description
float
| Edit this page View Source

worldCorners

Declaration
public Vector3[] worldCorners { get; }
Property Value
Type Description
Vector3[]

Methods

| Edit this page View Source

Awake()

Declaration
protected override void Awake()
Overrides
UnityEngine.EventSystems.UIBehaviour.Awake()
| Edit this page View Source

OnDisable()

Declaration
protected override void OnDisable()
Overrides
UnityEngine.EventSystems.UIBehaviour.OnDisable()
| Edit this page View Source

OnEnable()

Declaration
protected override void OnEnable()
Overrides
UnityEngine.EventSystems.UIBehaviour.OnEnable()
| Edit this page View Source

OnRectTransformDimensionsChange()

Declaration
protected override void OnRectTransformDimensionsChange()
Overrides
UnityEngine.EventSystems.UIBehaviour.OnRectTransformDimensionsChange()

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾