Table of Contents

Class UIFlightHud

Namespace
KSP.UI.Flight
Assembly
Assembly-CSharp.dll
[PrefabName("FlightHudRoot.prefab")]
public class UIFlightHud : UIModule
Inheritance
UIFlightHud
Inherited Members
Extension Methods

Constructors

UIFlightHud()

public UIFlightHud()

Fields

UseOldFlightHud

public bool UseOldFlightHud

Field Value

bool

_gameState

public Property<GameState> _gameState

Field Value

Property<GameState>

onFlightHudCanvasActiveChanged

public Action<bool> onFlightHudCanvasActiveChanged

Field Value

Action<bool>

Properties

Context

public DataContext Context { get; }

Property Value

DataContext

IsVisible

public bool IsVisible { get; }

Property Value

bool

Methods

AddInstrument(string, GameObject)

public void AddInstrument(string id, GameObject instrument)

Parameters

id string
instrument GameObject

RemoveInstrument(string)

public void RemoveInstrument(string id)

Parameters

id string

ToggleFlightHUD()

public void ToggleFlightHUD()