Beispiel #1
0
 private void OnVesselLoad(Vessel vessel)
 {
     if (vessel.mainBody == _body)
     {
         OnDemandStorage.EnableBodyCBMaps(_body.transform.name);
     }
     else
     {
         OnDemandStorage.DisableBodyCBMaps(_body.transform.name);
     }
 }
Beispiel #2
0
 private void OnGameSceneLoadRequested(GameScenes scene)
 {
     if (scene == GameScenes.TRACKSTATION)
     {
         OnDemandStorage.EnableBodyCBMaps(_body.transform.name);
     }
     else
     {
         OnDemandStorage.DisableBodyCBMaps(_body.transform.name);
     }
 }
Beispiel #3
0
            private void OnVesselSOIChanged(GameEvents.HostedFromToAction <Vessel, CelestialBody> action)
            {
                if ([email protected] == _body.transform.name)
                {
                    OnDemandStorage.DisableBodyCBMaps(_body.transform.name);
                }

                if ([email protected] == _body.transform.name)
                {
                    OnDemandStorage.EnableBodyCBMaps(_body.transform.name);
                }
            }
Beispiel #4
0
 private void OnMapEntered()
 {
     OnDemandStorage.EnableBodyCBMaps(_body.transform.name);
 }