Exemplo n.º 1
0
 public void Awake()
 {
     if (kcoop_model == null)
     {
         kcoop_model = KerbalCooperation.Instance;
         Logger.error("Cannot find KerbalCooperation instance!");
         return;
     }
 }
 public void Start()
 {
     Logger.log("FlightManager started.");
     kcoop_model = KerbalCooperation.Instance;
     if (kcoop_model == null)
     {
         Logger.error("Cannot find KerbalCooperation instance!");
         return;
     }
 }
Exemplo n.º 3
0
        public void Start()
        {
            Logger.log("SpaceCenterManager started.");
            kcoop_model = KerbalCooperation.Instance;
            if (kcoop_model == null)
            {
                Logger.error("Cannot find KerbalCooperation instance!");
                return;
            }

            GameEvents.onGUIApplicationLauncherReady.Add(this.onGUIApplicationLauncherReady);
            GameEvents.onGUIApplicationLauncherDestroyed.Add(this.onGUIApplicationLauncherDestroyed);
        }
 public KCoopScenarioLoader()
 {
     _instance = new KerbalCooperation();
 }