A class in Root.Township, Alta.QuickAccessActions.
Developer quick access action that shows or hides a runtime console in front of the player. Client only.
Constructors
| Member | What it is |
|---|
ToggleRuntimeConsole() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|
override bool IsActive { get; } | True while the console is shown. |
override bool IsValid { get; } | Always true. |
Methods
| Member | What it is |
|---|
void InitConsole() | Creates the console from the prefab the first time, hidden. |
override void Run(Controller controller) | Creates the console if needed, moves it in front of the head and toggles it. |
void UpdateConsolePosition(Controller controller) | Puts the console 0.5 m in front of the head, facing the same way. |