public void Serialize() { AutoSerialization.Serialize(this, "settings_wnd", KSPUtil.ApplicationRootPath + "GameData/AtmosphereAutopilot/Global_settings.txt", typeof(GlobalSerializable), OnSerialize); }