Skip to main content

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.

Constructors​

MemberWhat it is
protected MenuGameSetting()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat 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: