bool GUIControl.Visible
Gets/sets whether the GUI control is visible. This is true by default, but you
can set it to false in order to temporarily remove the GUI control from the GUI.
While the control is invisible, it will not be drawn on the screen, and will not register
clicks or otherwise respond to any user input.
Applies To
Inherited by the Button, InvWindow, Label, ListBox, Slider and TextBox.
Example:
btnSaveGame.Visible = false;
will make the btnSaveGame button invisible.
See Also: GUIControl.Enabled
|