docs.unity.cn
    Show / Hide Table of Contents

    Delegate TMP_Text.MissingCharacterEventCallback

    Delegate for the OnMissingCharacter event called when the requested Unicode character is missing from the font asset.

    Namespace: TMPro
    Syntax
    public delegate void MissingCharacterEventCallback(int unicode, int stringIndex, string text, FontAsset fontAsset, TMP_Text textComponent);
    Parameters
    Type Name Description
    Int32 unicode

    The Unicode of the missing character.

    Int32 stringIndex

    The index of the missing character in the source string.

    String text

    The source text that contains the missing character.

    UnityEngine.TextCore.Text.FontAsset fontAsset

    The font asset that is missing the requested characters.

    TMP_Text textComponent

    The text component where the requested character is missing.

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, February 17, 2023
    Terms of use