GamecraftModdingAPI
v1.8.0
The unofficial Gamecraft modding API
|
GUI Element like a text field, button or picture. This interface is used to wrap many elements from Unity's IMGUI system. More...
Public Member Functions | |
void | OnGUI () |
GUI operations to perform in the OnGUI scope. This is basically equivalent to a MonoBehaviour's OnGUI method. More... | |
Properties | |
bool | Enabled [get] |
Whether to display the UI element or not. More... | |
string | Name [get] |
The element's name. This should be unique for every instance of the class. More... | |
GUI Element like a text field, button or picture. This interface is used to wrap many elements from Unity's IMGUI system.
void GamecraftModdingAPI.Interface.IMGUI.UIElement.OnGUI | ( | ) |
GUI operations to perform in the OnGUI scope. This is basically equivalent to a MonoBehaviour's OnGUI method.
Implemented in GamecraftModdingAPI.Interface.IMGUI.Text, GamecraftModdingAPI.Interface.IMGUI.Button, GamecraftModdingAPI.Interface.IMGUI.Group, GamecraftModdingAPI.Interface.IMGUI.Image, and GamecraftModdingAPI.Interface.IMGUI.Label.
|
get |
Whether to display the UI element or not.
|
get |
The element's name. This should be unique for every instance of the class.