Text UI element
Return the game object that this UI element is attached to. Returns undefined if the element isn't attached to a game object.
Return the widget that contains this widget, for example a border that wraps a check box. Returns undefined if this object has no parent.
Return the currently displayed text.
Set the font size. The default size is 12.
The new font size
Set the displayed text. Can include "\n" to indicate new lines.
The new text