public override void Draw() { GUILayout.BeginHorizontal(); if (MVA != null) { MVA.Draw(); } GUILayout.EndHorizontal(); if (PN != null && UI.NAV != null) { UI.NAV.TargetUI(); } GUILayout.BeginHorizontal(); if (ORB != null) { ORB.Draw(); } if (REN != null) { REN.Draw(); } if (DEO != null) { DEO.Draw(); } GUILayout.EndHorizontal(); if (DEO != null && CFG.AP2[Autopilot2.Deorbit]) { DEO.DrawDeorbitSettings(); } #if DEBUG if (Utils.ButtonSwitch("DBG", ref TrajectoryCalculator.setp_by_step_computation, "Toggles step-by-step trajectory computation", GUILayout.ExpandWidth(true)) && TrajectoryCalculator.setp_by_step_computation) { MapView.EnterMapView(); } #endif }