ドキュメント

Unity Engine

Unity Engine

HasCharacter

Function to check if a certain character exists in the font asset.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

HasCharacter(int)

Function to check if a certain character exists in the font asset.
public bool HasCharacter(int character)

Parameters

character

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

character


searchFallbacks


tryAddCharacter

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

character


searchFallbacks


tryAddCharacter

Returns

Type

Description

bool