ToggleLiveDataDisplayMenuAction
A class in Root.Township, Alta.QuickAccessActions.
Quick access action that toggles the FPS readout on the player camera's LiveDataDisplayView. Client only.
Constructors
| Member | What it is |
|---|
ToggleLiveDataDisplayMenuAction() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
| Member | What it is |
|---|
private LiveDataDisplayView liveDataDisplay | The display found on the player camera. |
Properties
| Member | What it is |
|---|
override bool IsActive { get; } | True while the live data display is enabled. |
override bool IsValid { get; } | Always true. |
Methods
| Member | What it is |
|---|
override void Run(Controller controller) | Finds the display on the camera the first time, then toggles its FPS readout. |