Class TextContainer
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
[RequireComponent(typeof(RectTransform))]
public class TextContainer : UIBehaviour
Properties
| Name | Description |
|---|---|
| anchorPosition | |
| corners | |
| hasChanged | |
| height | |
| isAutoFitting | |
| isDefaultHeight | |
| isDefaultWidth | |
| margins | |
| pivot | |
| rect | |
| rectTransform | The RectTransform used by the object |
| size | |
| textMeshPro | |
| width | |
| worldCorners |
Methods
| Name | Description |
|---|---|
| Awake() | |
| OnDisable() | |
| OnEnable() | |
| OnRectTransformDimensionsChange() | Callback from Unity to handle RectTransform changes. |