Delegate TMP_Text.MissingCharacterEventCallback
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.
Delegate for the OnMissingCharacter event called when the requested Unicode character is missing from the font asset.
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public delegate void TMP_Text.MissingCharacterEventCallback(int unicode, int stringIndex, string text, TMP_FontAsset fontAsset, TMP_Text textComponent)
Parameters
| Type | Name | Description |
|---|---|---|
| int | unicode | The Unicode of the missing character. |
| int | stringIndex | The index of the missing character in the source string. |
| string | text | The source text that contains the missing character. |
| TMP_FontAsset | fontAsset | The font asset that is missing the requested characters. |
| TMP_Text | textComponent | The text component where the requested character is missing. |