‪GamecraftModdingAPI  ‪v1.8.0
‪The unofficial Gamecraft modding API
GamecraftModdingAPI.Interface.IMGUI.UIElement Interface Reference

‪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 GamecraftModdingAPI.Interface.IMGUI.UIElement:
GamecraftModdingAPI.Interface.IMGUI.Button GamecraftModdingAPI.Interface.IMGUI.Group GamecraftModdingAPI.Interface.IMGUI.Image GamecraftModdingAPI.Interface.IMGUI.Label GamecraftModdingAPI.Interface.IMGUI.Text

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

Detailed Description

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

Member Function Documentation

◆ OnGUI()

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.

Property Documentation

◆ Enabled

bool GamecraftModdingAPI.Interface.IMGUI.UIElement.Enabled
get

‪Whether to display the UI element or not.

◆ Name

string GamecraftModdingAPI.Interface.IMGUI.UIElement.Name
get

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


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