π€ Fonts
Default Fonts
Name
Path
Roboto
/Engine/EngineFonts/Roboto
Rufing
/Game/NanosWorld/UI/Fonts/Rufing/Font_Rufing
Oswald
/Game/NanosWorld/UI/Fonts/Oswald/Font_Oswald
PoiretOne
/Game/NanosWorld/UI/Fonts/PoiretOne/Font_PoiretOne
GothicA1
/Game/NanosWorld/UI/Fonts/GothicA1/Font_GothicA1
OpenSans
/Game/NanosWorld/UI/Fonts/OpenSans/Font_OpenSans
Adding a custom font
When registering a new font in WGUI, the path to the font file can either be a traditional TTF file path within a package or a reference to an asset within a Asset Pack.
You can register a font using the WGUI.RegisterFont
function. You need to provide a name for the font, which will be used to reference it in your UI code, and the path to the font file.
Last updated