void Start() { ProtoCrewMember kerbal = Apply(); Debug.Log("CustomSuit.Start", "kerbal = " + kerbal + " (" + kerbal?.GetType() + ")"); if (kerbal == null) { return; } eva = GetComponent <KerbalEVA>(); LoadFor(kerbal); ApplyTo(kerbal); if (HighLogic.LoadedSceneIsFlight && eva != null) { if (Nyan.forever) { TimingManager.UpdateAdd(TimingManager.TimingStage.Normal, RainbowJets); return; } TimingManager.UpdateAdd(TimingManager.TimingStage.Normal, CheckGee); if (helmetLowPressure != null || helmetHighPressure != null) { Helmet(); TimingManager.UpdateAdd(TimingManager.TimingStage.Normal, Helmet); } } }
internal void OnStart() { ProtoCrewMember kerbal = Apply(); Debug.Log("CustomNavBall.Start", "kerbal = " + kerbal + " (" + kerbal?.GetType() + ")"); if (kerbal == null) { return; } LoadFor(kerbal); ApplyTo(FlightUIModeController.Instance); }