docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMP_Style

    Important

    This package is deprecated. From Unity 2023.2, TextMesh Pro is part of the Unity UI (uGUI) package. For current documentation, refer to TextMesh Pro in the Unity UI package.

    Inheritance
    object
    TMP_Style
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TMPro
    Assembly: Unity.TextMeshPro.dll
    Syntax
    [Serializable]
    public class TMP_Style

    Properties

    NormalStyle

    Declaration
    public static TMP_Style NormalStyle { get; }
    Property Value
    Type Description
    TMP_Style

    hashCode

    The hash code corresponding to the name of this style.

    Declaration
    public int hashCode { get; set; }
    Property Value
    Type Description
    int

    name

    Declaration
    public string name { get; set; }
    Property Value
    Type Description
    string

    styleClosingDefinition

    Declaration
    public string styleClosingDefinition { get; }
    Property Value
    Type Description
    string

    styleClosingTagArray

    Declaration
    public uint[] styleClosingTagArray { get; }
    Property Value
    Type Description
    uint[]

    styleOpeningDefinition

    Declaration
    public string styleOpeningDefinition { get; }
    Property Value
    Type Description
    string

    styleOpeningTagArray

    Declaration
    public uint[] styleOpeningTagArray { get; }
    Property Value
    Type Description
    uint[]

    Methods

    RefreshStyle()

    Declaration
    public void RefreshStyle()
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)