/// <summary> /// Toggles engines on the current stage (on/off) /// </summary> /// <param name="state">"true" for on, "false" for off</param> public void ButtonEnableEngines(bool state) { if (vessel != null) { RPMVesselComputer comp = RPMVesselComputer.Instance(vessel); comp.SetEnableEngines(state); } }