Text2D_SetFontSize - MalisPierre/ModularGame GitHub Wiki
void Text2D.SetFontSize(int Size)
Description:
SetFontSize change the size of the Text2D.
Parameters:
- int Size: The new size of the font (recommended 6-94)
Returns:
- Void
Code Example:
function ChangeTextSize()
MyText= Framework.UserInterface_2D.FindPanel("LoadMenu").FindText("MyText")
MyText.SetFontSize(16)
end