public static void LoadSettings(ref KSP.IO.PluginConfiguration config)
        {
            UnitsSettingsWindowPos = config.GetValue("unitsSettingsWindowPos", new Rect());

            PressureUnits = GUIUnits.UnitsFromConfig<GUIUnits.Pressure>(ref config, GUIUnits.Pressure.kPa);
            TemperatureUnits = GUIUnits.UnitsFromConfig<GUIUnits.Temperature>(ref config, GUIUnits.Temperature.kelvin);
            ForceUnits = GUIUnits.UnitsFromConfig<GUIUnits.Force>(ref config, GUIUnits.Force.kN);
            IspUnits = GUIUnits.UnitsFromConfig<GUIUnits.Isp>(ref config, GUIUnits.Isp.s);
            TSFCUnits = GUIUnits.UnitsFromConfig<GUIUnits.TSFC>(ref config, GUIUnits.TSFC.kg__kgf_h);
        }
 public static void LoadSettings(ref KSP.IO.PluginConfiguration config)
 {
     ShowAmbientTemp = config.GetValue("showAmbientTemp", true);
     ShowAmbientPressure = config.GetValue("showAmbientPressure", true);
     ShowRecoveryTemp = config.GetValue("showRecoveryTemp", true);
     ShowRecoveryPressure = config.GetValue("showRecoveryPressure", true);
     ShowInletPercent = config.GetValue("showInletPercent", true);
     ShowTPR = config.GetValue("showTPR", true);
     ShowInletPressureRatio = config.GetValue("showInletPressureRatio", true);
     ShowThrust = config.GetValue("showThrust", true);
     ShowTWR = config.GetValue("showTWR", true);
     ShowTDR = config.GetValue("showTDR", true);
     ShowIsp = config.GetValue("showIsp", true);
     ShowTSFC = config.GetValue("showTSFC", true);
 }