HasCharacter
Function to check if a certain character exists in the font asset.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.TextCore.Text
- Assembly: UnityEngine.TextCoreTextEngineModule
HasCharacter(int)
Function to check if a certain character exists in the font asset.
public bool HasCharacter(int character)
Parameters
Returns
Type | Description |
|---|---|
| bool |
HasCharacter(char, bool, bool)
Function to check if a character is contained in the font asset with the option to also check potential local fallbacks.
public bool HasCharacter(char character, bool searchFallbacks = false, bool tryAddCharacter = false)
Parameters
Returns
Type | Description |
|---|---|
| bool |
HasCharacter(uint, bool, bool)
Function to check if a character is contained in the font asset with the option to also check potential local fallbacks.
public bool HasCharacter(uint character, bool searchFallbacks = false, bool tryAddCharacter = false)
Parameters
Returns
Type | Description |
|---|---|
| bool |