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