docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TMP_ResourceManager

    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_ResourceManager
    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
    public class TMP_ResourceManager

    Methods

    AddFontAsset(TMP_FontAsset)

    Add font asset to resource manager.

    Declaration
    public static void AddFontAsset(TMP_FontAsset fontAsset)
    Parameters
    Type Name Description
    TMP_FontAsset fontAsset

    Font asset to be added to the resource manager.

    ClearFontAssetGlyphCache()

    Clear all font asset glyph lookup cache.

    Declaration
    public static void ClearFontAssetGlyphCache()

    RemoveFontAsset(TMP_FontAsset)

    Remove font asset from resource manager.

    Declaration
    public static void RemoveFontAsset(TMP_FontAsset fontAsset)
    Parameters
    Type Name Description
    TMP_FontAsset fontAsset

    Font asset to be removed from the resource manager.

    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)