Method SearchForSpriteByUnicode
SearchForSpriteByUnicode(TMP_SpriteAsset, uint, bool, out int)
Search through the given sprite asset and its fallbacks for the specified sprite matching the given unicode character.
Declaration
public static TMP_SpriteAsset SearchForSpriteByUnicode(TMP_SpriteAsset spriteAsset, uint unicode, bool includeFallbacks, out int spriteIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| TMP_SpriteAsset | spriteAsset | The font asset to search for the given character. |
| uint | unicode | The character to find. |
| bool | includeFallbacks | |
| int | spriteIndex |
Returns
| Type | Description |
|---|---|
| TMP_SpriteAsset |