기술 자료

Unity Engine

Unity Engine

HasCharacter

Function to check if a certain character exists in the font asset.
읽는 시간 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