TechbloxModdingAPI
v2.2.0
The unofficial Techblox 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 | |
abstract void | OnGUI () |
GUI operations to perform in the OnGUI scope. This is basically equivalent to a MonoBehaviour's OnGUI method. More... | |
Protected Member Functions | |
UIElement (string text, string name) | |
Properties | |
bool | Enabled = true [get, set] |
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.
|
inlineprotected |
|
pure virtual |
GUI operations to perform in the OnGUI scope. This is basically equivalent to a MonoBehaviour's OnGUI method.
Implemented in TechbloxModdingAPI.Interface.IMGUI.Text, TechbloxModdingAPI.Interface.IMGUI.Button, TechbloxModdingAPI.Interface.IMGUI.Group, TechbloxModdingAPI.Interface.IMGUI.Image, and TechbloxModdingAPI.Interface.IMGUI.Label.
|
getset |
Whether to display the UI element or not.
|
get |
The element's name. This should be unique for every instance of the class.