space_ex v0.8.0 SpaceEx.UI.Panel
A container for user interface elements.
Link to this section Summary
Functions
Add a button to the panel
Add an input field to the panel
Create a panel within this panel
Add text to the panel
The rect transform for the panel
Remove the UI object
Whether the UI object is visible
Whether the UI object is visible
Link to this section Functions
Add a button to the panel.
content— The label for the button.visible— Whether the button is visible.
Returns: a reference to a SpaceEx.UI.Button object
Add an input field to the panel.
visible— Whether the input field is visible.
Returns: a reference to a SpaceEx.UI.InputField object
Create a panel within this panel.
visible— Whether the new panel is visible.
Returns: a reference to a SpaceEx.UI.Panel object
Add text to the panel.
content— The text.visible— Whether the text is visible.
Returns: a reference to a SpaceEx.UI.Text object
The rect transform for the panel.
Returns: a reference to a SpaceEx.UI.RectTransform object
Remove the UI object.
Returns: :ok
Whether the UI object is visible.
Returns: :ok
Whether the UI object is visible.
Returns: true or false