Class DemoReadouts
Manages multiple flight parameter readouts for demo scenes, creating and updating UI elements that display real-time aircraft telemetry data.
Namespace: NWH.Aerodynamics.AircraftController.Demo
Assembly: NWH.Aerodynamics.dll
Syntax
public class DemoReadouts : MonoBehaviour
Remarks
Automatically creates readouts for airspeed, altitude, fuel, angle of attack, flaps, vertical speed, heading, and glide ratio. Can source the target aircraft either manually or automatically from the VehicleChanger system.
Fields
| Edit this page View SourceaircraftSource
Method for identifying the aircraft to display telemetry for.
Declaration
public DemoReadouts.AircraftSource aircraftSource
Field Value
| Type | Description |
|---|---|
| DemoReadouts.AircraftSource |
readoutPrefab
Prefab used to instantiate individual readout UI elements.
Declaration
public GameObject readoutPrefab
Field Value
| Type | Description |
|---|---|
| GameObject |
targetAC
Target aircraft to display telemetry for. Only used when aircraftSource is Manual.
Declaration
public AircraftController targetAC
Field Value
| Type | Description |
|---|---|
| AircraftController |