A class in Root.Township, Alta.Chunks.
Developer quick access menu action that toggles debug scene widgets. Only shown in dev builds.
Constructors
| Member | What it is |
|---|
SceneWidgetsAction() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
| Member | What it is |
|---|
private bool isActive | Backing field for IsActive. |
Properties
| Member | What it is |
|---|
override bool IsActive { get; } | Whether the widgets are on. |
override bool IsIgnored { get; } | True outside dev, so it is hidden. |
override bool IsValid { get; } | True only in dev. |
Methods
| Member | What it is |
|---|
override void Run(Controller controller) | Toggles the debug widgets on or off. |