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.
- Listed in Global namespace: S
- Nested in
SettingsPanel
Constructors
| Member | What it is |
|---|---|
SettingsPanelConfiguration() | Creates a SettingsPanel.SettingsPanelConfiguration with default values. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private Transform board | Backing field for Board. |
private bool isSwitchingTo | Inspector button for switching to this page in the editor. |
private SelectionLever lever | Backing field for Lever. |
Properties
| Member | What 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: