Example #1
0
 public override void Hide()
 {
     if (mAntennaFragment != null)
     {
         mAntennaFragment.Dispose(); mAntennaFragment = null;
     }
     GameEvents.onVesselChange.Remove(OnVesselChange);
     base.Hide();
 }
Example #2
0
 public override void Hide()
 {
     if (mAntennaFragment != null)
     {
         mAntennaFragment.Dispose(); mAntennaFragment = null;
     }
     GameEvents.onVesselChange.Remove(OnVesselChange);
     base.Hide();
 }
Example #3
0
 public override void Show()
 {
     mAntennaFragment = mAntennaFragment ?? new AntennaFragment(mSetAntenna);
     GameEvents.onVesselChange.Add(OnVesselChange);
     base.Show();
 }
Example #4
0
 public override void Show()
 {
     mAntennaFragment = mAntennaFragment ?? new AntennaFragment(mSetAntenna);
     GameEvents.onVesselChange.Add(OnVesselChange);
     base.Show();
 }