Skip to main content

SettingsPanel.SettingsPanelConfiguration

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One page of the settings panel: the board it shows and the lever that switches to it. Private to SettingsPanel, set in the inspector.

Constructors​

MemberWhat it is
SettingsPanelConfiguration()Creates a SettingsPanel.SettingsPanelConfiguration with default values.

Fields​

3 private and internal fields
MemberWhat it is
private Transform boardBacking field for Board.
private bool isSwitchingToInspector button for switching to this page in the editor.
private SelectionLever leverBacking field for Lever.

Properties​

MemberWhat it is
Transform Board { get; }The board transform for this page. Hidden at start and shown when its lever is picked.
bool IsSwitchingTo { get; }Value of the Switch To inspector button.
SelectionLever Lever { get; }The SelectionLever that switches to this page. Other levers reset to 0 when this one moves.

Used in​

Members of other types that take, return or hold a SettingsPanelConfiguration: