Delegate TMP_Text.MissingCharacterEventCallback
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, 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. |
FontAsset | fontAsset | The font asset that is missing the requested characters. |
TMP_Text | textComponent | The text component where the requested character is missing. |