ButtonCounter.TextRendererSettings
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
A text label on a ButtonCounter that shows the amount, hidden below a minimum.
- Listed in Global namespace: A to B
- Nested in
ButtonCounter
Constructors
| Member | What it is |
|---|---|
TextRendererSettings() | Creates a ButtonCounter.TextRendererSettings with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private int minimumQuantityForText | Smallest amount that is shown. Defaults to 1. |
private TextRenderer renderer | The text renderer to write to. |
Methods
| Member | What it is |
|---|---|
void UpdateText(int value) | Shows the value, or blank text if it is below minimumQuantityForText. |
Used in
Members of other types that take, return or hold a TextRendererSettings: