Exemple #1
0
 public void Start()
 {
     //if (Instance != null)
     //{
     //    Destroy(Instance);
     //}
     Instance = this;
     GameEvents.onGUIApplicationLauncherReady.Add(OnGUIAppLauncherReady);
     save_folder = GetRootPath() + "/saves/" + HighLogic.SaveFolder + "/";
     //LoadSettings();
     SetInterval();
     UpdateLastUpdate();
     //LoadData();
     Kerbanomics_KACWrapper.KACWrapper.InitKACWrapper();
     if (Kerbanomics_KACWrapper.KACWrapper.APIReady)
     {
         Debug.Log(Kerbanomics_KACWrapper.KACWrapper.KAC.Alarms.Count);
     }
 }
Exemple #2
0
 public void Start()
 {
     //if (Instance != null)
     //{
     //    Destroy(Instance);
     //}
     Instance = this;
     GameEvents.onGUIApplicationLauncherReady.Add(OnGUIAppLauncherReady);
     save_folder = GetRootPath() + "/saves/" + HighLogic.SaveFolder + "/";
     //LoadSettings();
     SetInterval();
     UpdateLastUpdate();
     //LoadData();
     Kerbanomics_KACWrapper.KACWrapper.InitKACWrapper();
     if (Kerbanomics_KACWrapper.KACWrapper.APIReady)
     {
         Debug.Log(Kerbanomics_KACWrapper.KACWrapper.KAC.Alarms.Count);
     }
 }