Exemplo n.º 1
0
 protected override void Awake()
 {
     CommNetNetwork.Instance = this;
     CommNet = new BeaconCommNetwork();
     if (HighLogic.LoadedScene == GameScenes.TRACKSTATION)
     {
         GameEvents.onPlanetariumTargetChanged.Add(OnMapFocusChange);
     }
     GameEvents.OnGameSettingsApplied.Add(ResetNetwork);
     ResetNetwork();             // Please retain this so that KSP can properly reset
 }
Exemplo n.º 2
0
 protected new void ResetNetwork()
 {
     CommNet = new BeaconCommNetwork();
     GameEvents.CommNet.OnNetworkInitialized.Fire();
 }