SimpleTextPanel
A class in Root.Township, Alta.Meta.UI.
Client UI panel that just shows a block of text.
- Listed in Menus, UI and platforms
- Inherits or implements
Panel
Constructors
| Member | What it is |
|---|---|
SimpleTextPanel() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private TextRenderer textRenderer | The text renderer the text goes into. |
Methods
| Member | What it is |
|---|---|
void Setup(string text) | Sets the text and shows the panel. |
Used in
Members of other types that take, return or hold a SimpleTextPanel: