コード例 #1
0
 public void Awake()
 {
     if (kcoop_model == null)
     {
         kcoop_model = KerbalCooperation.Instance;
         Logger.error("Cannot find KerbalCooperation instance!");
         return;
     }
 }
コード例 #2
0
 public void Start()
 {
     Logger.log("FlightManager started.");
     kcoop_model = KerbalCooperation.Instance;
     if (kcoop_model == null)
     {
         Logger.error("Cannot find KerbalCooperation instance!");
         return;
     }
 }
コード例 #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);
        }
コード例 #4
0
 public KCoopScenarioLoader()
 {
     _instance = new KerbalCooperation();
 }