‪TechbloxModdingAPI  ‪v2.2.0
‪The unofficial Techblox modding API
TechbloxModdingAPI.Interface.IMGUI.UIElement Class Referenceabstract

‪GUI Element like a text field, button or picture. This interface is used to wrap many elements from Unity's IMGUI system. More...

Inheritance diagram for TechbloxModdingAPI.Interface.IMGUI.UIElement:
TechbloxModdingAPI.Interface.IMGUI.Button TechbloxModdingAPI.Interface.IMGUI.Group TechbloxModdingAPI.Interface.IMGUI.Image TechbloxModdingAPI.Interface.IMGUI.Label TechbloxModdingAPI.Interface.IMGUI.Text

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...
 

Detailed Description

GUI Element like a text field, button or picture. This interface is used to wrap many elements from Unity's IMGUI system.

Constructor & Destructor Documentation

◆ UIElement()

TechbloxModdingAPI.Interface.IMGUI.UIElement.UIElement ( string  text,
string  name 
)
inlineprotected

Member Function Documentation

◆ OnGUI()

abstract void TechbloxModdingAPI.Interface.IMGUI.UIElement.OnGUI ( )
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.

Property Documentation

◆ Enabled

bool TechbloxModdingAPI.Interface.IMGUI.UIElement.Enabled = true
getset

‪Whether to display the UI element or not.

◆ Name

string TechbloxModdingAPI.Interface.IMGUI.UIElement.Name
get

‪The element's name. This should be unique for every instance of the class.


The documentation for this class was generated from the following file: