Skip to main content

SetPriorityFont

AndroidiOSWindows

Set preferred fonts for the LI PASS UI, to be called before opening the LI PASS UI.

Function definition

public static void SetPriorityFont(Font font);

Input parameters

ParameterTypeDescription
fontFontPreferred font

Code sample

Font _font = Resources.Load<Font>("emm.ttf");
LevelInfiniteAPI.SetPriorityFont(_font);