Progress bar 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 progress (0 to 1)
Return the currently displayed text
Set the displayed progressed. 0 is not progress, 1 shows the full bar
Set the displayed text. Can include "\n" to indicate new lines.