OptionsConfig
A class in Root.Township, Alta.Meta.UI.
One option button for a menu window's options popup: label, action to run and button style. Used by friend panels for things like Revoke.
- Listed in Menus, UI and platforms
Constructors
| Member | What it is |
|---|---|
OptionsConfig(string text, Action action, UIButtonType type = 0) | Creates an OptionsConfig from text, action and type. |
Properties
| Member | What it is |
|---|---|
Action Action { get; } | What runs when the option is picked. |
string Text { get; } | The button label. |
UIButtonType Type { get; } | The button style, Normal by default. |
Used in
Members of other types that take, return or hold a OptionsConfig: