Class
Text
: MaskableGraphic : Graphic : UIBehaviour : MonoBehaviour : Behaviour : Component : Object : Objectimplements ILayoutElement
0x00x0108
Members 7
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_FontData | FontData | Private | — | |
| 0x08 | m_Text | string | 1 flags | — | |
| 0x08 | m_TextCache | TextGenerator | Private | — | |
| 0x08 | m_TextCacheForLayout | TextGenerator | Private | — | |
| 0x08 | s_DefaultText | Material | Static+1 flags | — | |
| 0x01 | m_DisableFontTextureRebuiltCallback | bool | 2 flags | — | |
| 0x00F9 | 0x07 | padding / unreflected | |||
| 0x08 | m_TempVerts | UIVertex[] | Private+1 flags | — | |
Inherited from MaskableGraphic 10
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | m_ShouldRecalculateStencil | bool | 2 flags | — | |
| 0x00A1 | 0x07 | padding / unreflected | |||
| 0x08 | m_MaskMaterial | Material | 2 flags | — | |
| 0x08 | m_ParentMask | RectMask2D | Private+1 flags | — | |
| 0x01 | m_Maskable | bool | Private | — | |
| 0x01 | m_IsMaskingGraphic | bool | Private | — | |
| 0x01 | m_IncludeForMasking | bool | 2 flags | — | |
| 0x00BB | 0x05 | padding / unreflected | |||
| 0x08 | m_OnCullStateChanged | CullStateChangedEvent | Private | — | |
| 0x01 | m_ShouldRecalculate | bool | 2 flags | — | |
| 0x00C9 | 0x03 | padding / unreflected | |||
| 0x04 | m_StencilValue | int | 2 flags | — | |
| 0x08 | m_Corners | Vector3[] | Private+1 flags | — | |
Inherited from Graphic 23
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | s_DefaultUI | Material | Static+1 flags | — | |
| 0x08 | s_WhiteTexture | Texture2D | Static+1 flags | — | |
| 0x0010 | 0x08 | padding / unreflected | |||
| 0x08 | m_Material | Material | 1 flags | — | |
| 0x10 | m_Color | Color | Private | — | |
| 0x01 | m_SkipLayoutUpdate | bool | 2 flags | — | |
| 0x01 | m_SkipMaterialUpdate | bool | 2 flags | — | |
| 0x01 | m_RaycastTarget | bool | Private | — | |
| 0x01 | m_RaycastTargetCache | bool | Private | — | |
| 0x10 | m_RaycastPadding | Vector4 | Private | — | |
| 0x0044 | 0x04 | padding / unreflected | |||
| 0x08 | m_RectTransform | RectTransform | Private+1 flags | — | |
| 0x08 | m_CanvasRenderer | CanvasRenderer | Private+1 flags | — | |
| 0x08 | m_Canvas | Canvas | Private+1 flags | — | |
| 0x01 | m_VertsDirty | bool | Private+1 flags | — | |
| 0x01 | m_MaterialDirty | bool | Private+1 flags | — | |
| 0x0062 | 0x06 | padding / unreflected | |||
| 0x08 | m_OnDirtyLayoutCallback | UnityAction | 2 flags | — | |
| 0x08 | m_OnDirtyVertsCallback | UnityAction | 2 flags | — | |
| 0x08 | m_OnDirtyMaterialCallback | UnityAction | 2 flags | — | |
| 0x08 | s_Mesh | Mesh | Static+2 flags | — | |
| 0x08 | s_VertexHelper | VertexHelper | PrivateStatic+2 flags | — | |
| 0x08 | m_CachedMesh | Mesh | 2 flags | — | |
| 0x08 | m_CachedUvs | Vector2[] | 2 flags | — | |
| 0x08 | m_ColorTweenRunner | TweenRunner<UnityEngine.UI.CoroutineTween.ColorTween> | Private+2 flags | — | |
| 0x01 | <useLegacyMeshGeneration>k__BackingField | bool | Private | — | |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 49
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor() | 2 flags | 0x00 | |
| TextGenerator get_cachedTextGenerator() | Public+1 flags | 0x08 | |
| TextGenerator get_cachedTextGeneratorForLayout() | Public+1 flags | 0x08 | |
| Texture get_mainTexture() | Public+2 flags | 0x08 | |
| void FontTextureChanged() | Public | 0x00 | |
| Font get_font() | Public+1 flags | 0x08 | |
| void set_font(Font value) | Public+1 flags | 0x08 | |
| string get_text() | Public+3 flags | 0x08 | |
| void set_text(const string& value) | Public+3 flags | 0x08 | |
| bool get_supportRichText() | Public+1 flags | 0x01 | |
| void set_supportRichText(bool value) | Public+1 flags | 0x01 | |
| bool get_resizeTextForBestFit() | Public+1 flags | 0x01 | |
| void set_resizeTextForBestFit(bool value) | Public+1 flags | 0x01 | |
| int get_resizeTextMinSize() | Public+1 flags | 0x04 | |
| void set_resizeTextMinSize(int value) | Public+1 flags | 0x04 | |
| int get_resizeTextMaxSize() | Public+1 flags | 0x04 | |
| void set_resizeTextMaxSize(int value) | Public+1 flags | 0x04 | |
| TextAnchor get_alignment() | Public+1 flags | 0x04 | |
| void set_alignment(const TextAnchor& value) | Public+1 flags | 0x04 | |
| bool get_alignByGeometry() | Public+1 flags | 0x01 | |
| void set_alignByGeometry(bool value) | Public+1 flags | 0x01 | |
| int get_fontSize() | Public+1 flags | 0x04 | |
| void set_fontSize(int value) | Public+1 flags | 0x04 | |
| HorizontalWrapMode get_horizontalOverflow() | Public+1 flags | 0x04 | |
| void set_horizontalOverflow(const HorizontalWrapMode& value) | Public+1 flags | 0x04 | |
| VerticalWrapMode get_verticalOverflow() | Public+1 flags | 0x04 | |
| void set_verticalOverflow(const VerticalWrapMode& value) | Public+1 flags | 0x04 | |
| float get_lineSpacing() | Public+1 flags | 0x04 | |
| void set_lineSpacing(float value) | Public+1 flags | 0x04 | |
| FontStyle get_fontStyle() | Public+1 flags | 0x04 | |
| void set_fontStyle(const FontStyle& value) | Public+1 flags | 0x04 | |
| float get_pixelsPerUnit() | Public+1 flags | 0x04 | |
| void OnEnable() | 2 flags | 0x00 | |
| void OnDisable() | 2 flags | 0x00 | |
| void UpdateGeometry() | 2 flags | 0x00 | |
| void AssignDefaultFont() | 1 flags | 0x00 | |
| void AssignDefaultFontIfNecessary() | 1 flags | 0x00 | |
| TextGenerationSettings GetGenerationSettings(const Vector2& extents) | Public | 0x60 | |
| Vector2 GetTextAnchorPivot(const TextAnchor& anchor) | PublicStatic | 0x08 | |
| void OnPopulateMesh(VertexHelper toFill) | 2 flags | 0x08 | |
| void CalculateLayoutInputHorizontal() | Public+2 flags | 0x00 | |
| void CalculateLayoutInputVertical() | Public+2 flags | 0x00 | |
| float get_minWidth() | Public+3 flags | 0x04 | |
| float get_preferredWidth() | Public+3 flags | 0x04 | |
| float get_flexibleWidth() | Public+3 flags | 0x04 | |
| float get_minHeight() | Public+3 flags | 0x04 | |
| float get_preferredHeight() | Public+3 flags | 0x04 | |
| float get_flexibleHeight() | Public+3 flags | 0x04 | |
| int get_layoutPriority() | Public+3 flags | 0x04 |
Used by 55
types with a member, parameter or interface of this type<>c__DisplayClass34_0<>c__DisplayClass35_0<>c__DisplayClass36_0<>c__DisplayClass37_0<>c__DisplayClass40_0BossHealthBarItemChatAppIdCheckerUIChatGuiChestOpenCountdownTimerDebugUIHandlerBitFieldDebugUIHandlerButtonDebugUIHandlerColorDebugUIHandlerEnumFieldDebugUIHandlerEnumHistoryDebugUIHandlerFloatFieldDebugUIHandlerFoldoutDebugUIHandlerGroupDebugUIHandlerIndirectFloatFieldDebugUIHandlerIndirectToggleDebugUIHandlerIntFieldDebugUIHandlerMessageBoxDebugUIHandlerPanelDebugUIHandlerToggleDebugUIHandlerUIntFieldDebugUIHandlerValueDebugUIHandlerVector2DebugUIHandlerVector3DebugUIHandlerVector4DefaultControlsDOTweenModuleUIDropdownDropdownItemEnumeratorEqualityComparer`1FontUpdateTrackerFriendItemHashSet`1ICollection`1IEnumerator`1IEqualityComparer`1IEquatable`1InputFieldLadderClimberMinecartObjectEqualityComparer`1PointedAtGameObjectInfoPredicate`1ShootProjectileSlotText[]TextButtonTransitionTextButtonTransitionTextToggleIsOnTransitionTextToggleIsOnTransition