A simple text label. This wraps Unity IMGUI's Label.
More...
|
| Label (Rect box, string initialText=null, string name=null) |
| Initializes a new instance of the T:GamecraftModdingAPI.Interface.IMGUI.Label. More...
|
|
| Label (string initialText=null, string name=null) |
| Initializes a new instance of the T:GamecraftModdingAPI.Interface.IMGUI.Label class with automatic layout. More...
|
|
void | OnGUI () |
| GUI operations to perform in the OnGUI scope. This is basically equivalent to a MonoBehaviour's OnGUI method. More...
|
|
|
Rect | Box = Rect.zero [get, set] |
| The rectangular area that the label can use. More...
|
|
bool | Enabled = true [get, set] |
| Whether to display the label. More...
|
|
string | Name [get] |
| The label's unique name. More...
|
|
string | Text [get, set] |
| String to display on the label. More...
|
|
A simple text label. This wraps Unity IMGUI's Label.
◆ Label() [1/2]
GamecraftModdingAPI.Interface.IMGUI.Label.Label |
( |
string |
initialText = null , |
|
|
string |
name = null |
|
) |
| |
|
inline |
Initializes a new instance of the T:GamecraftModdingAPI.Interface.IMGUI.Label class with automatic layout.
- Parameters
-
initialText | Initial string to display on the label. |
name | The element's name. |
◆ Label() [2/2]
GamecraftModdingAPI.Interface.IMGUI.Label.Label |
( |
Rect |
box, |
|
|
string |
initialText = null , |
|
|
string |
name = null |
|
) |
| |
|
inline |
Initializes a new instance of the T:GamecraftModdingAPI.Interface.IMGUI.Label.
- Parameters
-
box | Rectangular area for the label. |
initialText | Initial string to display on the label. |
name | The element's name. |
◆ OnGUI()
void GamecraftModdingAPI.Interface.IMGUI.Label.OnGUI |
( |
| ) |
|
|
inline |
◆ Box
Rect GamecraftModdingAPI.Interface.IMGUI.Label.Box = Rect.zero |
|
getset |
The rectangular area that the label can use.
◆ Enabled
bool GamecraftModdingAPI.Interface.IMGUI.Label.Enabled = true |
|
getset |
Whether to display the label.
◆ Name
string GamecraftModdingAPI.Interface.IMGUI.Label.Name |
|
get |
The label's unique name.
◆ Text
string GamecraftModdingAPI.Interface.IMGUI.Label.Text |
|
getset |
String to display on the label.
The documentation for this class was generated from the following file:
- GamecraftModdingAPI/Interface/IMGUI/Label.cs