ToggleLocalSpeedMenuAction
A class in Root.Township, Alta.QuickAccessActions.
Debug quick access action that switches the local player's base speed stat between 1 and 2.
Constructors
| Member | What it is |
|---|
ToggleLocalSpeedMenuAction() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Properties
| Member | What it is |
|---|
override bool IsActive { get; } | Always false. |
override bool IsValid { get; } | Always true. |
Methods
| Member | What it is |
|---|
override void Run(Controller controller) | Sets the "speed" stat's base to 1 if above 1, otherwise to 2. |