docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMP_Character

    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.

    A basic element of text.

    Inheritance
    object
    TMP_TextElement
    TMP_Character
    Inherited Members
    TMP_TextElement.elementType
    TMP_TextElement.unicode
    TMP_TextElement.textAsset
    TMP_TextElement.glyph
    TMP_TextElement.glyphIndex
    TMP_TextElement.scale
    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_Character : TMP_TextElement

    Constructors

    TMP_Character()

    Default constructor.

    Declaration
    public TMP_Character()

    TMP_Character(uint, TMP_FontAsset, Glyph)

    Constructor for new character

    Declaration
    public TMP_Character(uint unicode, TMP_FontAsset fontAsset, Glyph glyph)
    Parameters
    Type Name Description
    uint unicode

    Unicode value.

    TMP_FontAsset fontAsset

    The font asset to which this character belongs.

    Glyph glyph

    Glyph

    TMP_Character(uint, Glyph)

    Constructor for new character

    Declaration
    public TMP_Character(uint unicode, Glyph glyph)
    Parameters
    Type Name Description
    uint unicode

    Unicode value.

    Glyph glyph

    Glyph

    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)