Class DemoUIController
Manages the demo scene user interface including help screen, telemetry display, input mode toggling, and scene reset functionality.
Namespace: NWH.Aerodynamics.AircraftController.Demo
Assembly: NWH.Aerodynamics.dll
Syntax
public class DemoUIController : MonoBehaviour
Remarks
Provides interactive buttons for switching between help and telemetry views, toggling mouse yoke input, and resetting the scene. Displays contextual prompts for parking brake and engine status.
Fields
| Edit this page View SourceaircraftController
Active aircraft controller. Automatically assigned from VehicleChanger.
Declaration
public AircraftController aircraftController
Field Value
| Type | Description |
|---|---|
| AircraftController |
aircraftInputProvider
Input provider reference used for toggling mouse input mode.
Declaration
public InputSystemAircraftInputProvider aircraftInputProvider
Field Value
| Type | Description |
|---|---|
| InputSystemAircraftInputProvider |
helpButton
Button to toggle the help information display.
Declaration
public Button helpButton
Field Value
| Type | Description |
|---|---|
| Button |
helpTab
GameObject containing help tab UI elements.
Declaration
public GameObject helpTab
Field Value
| Type | Description |
|---|---|
| GameObject |
mouseYokeButton
Button to toggle mouse yoke input on/off.
Declaration
public Button mouseYokeButton
Field Value
| Type | Description |
|---|---|
| Button |
promptText
Text element displaying contextual prompts (parking brake, engine status).
Declaration
public Text promptText
Field Value
| Type | Description |
|---|---|
| Text |
resetButton
Button to reload/reset the current scene.
Declaration
public Button resetButton
Field Value
| Type | Description |
|---|---|
| Button |
telemetryButton
Button to toggle the telemetry data display.
Declaration
public Button telemetryButton
Field Value
| Type | Description |
|---|---|
| Button |
telemetryTab
GameObject containing telemetry tab UI elements.
Declaration
public GameObject telemetryTab
Field Value
| Type | Description |
|---|---|
| GameObject |
Methods
| Edit this page View SourceActivateHelpTab()
Declaration
public void ActivateHelpTab()
ActivateTelemetryTab()
Declaration
public void ActivateTelemetryTab()
Awake()
Declaration
public void Awake()
ResetScene()
Declaration
public void ResetScene()
ToggleMouseYoke()
Declaration
public void ToggleMouseYoke()