docs.unity.cn
    Show / Hide Table of Contents

    Class TMP_ResourceManager

    Inheritance
    Object
    TMP_ResourceManager
    Namespace: TMPro
    Syntax
    public class TMP_ResourceManager : object

    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, March 9, 2022
    Terms of use