MenuGameSetting
An abstract class in Root.Township, Alta.Menu.
Base for an in-game menu widget that shows one game setting. The generic MenuGameSetting<T> does the work.
- Listed in Menus, UI and platforms
- Inherits or implements
MonoBehaviour - Derived types
MenuGameSetting<T>,ServerCommandAction,ServerMultiCommandAction
Constructors
| Member | What it is |
|---|---|
protected MenuGameSetting() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|---|
abstract void SetSettings(ISettingsFieldAccess newSettingToDisplay) | Switches the widget to show another setting and sets it up again. |
Used in
Members of other types that take, return or hold a MenuGameSetting: