Exemple #1
0
 public void OnVesselSelect()
 {
     if (_vesselUI != null)
     {
         _vesselUI.SelectVessel();
     }
     else if (_subVesselUI != null)
     {
         _subVesselUI.SelectVessel();
     }
     else if (_fullVesselUI != null)
     {
         _fullVesselUI.SelectVessel();
     }
 }
        public void OnVesselSelect()
        {
            if (_vesselUI != null)
            {
                _vesselUI.SelectVessel();
            }
            else if (_subVesselUI != null)
            {
                _subVesselUI.SelectVessel();
            }
            else if (_fullVesselUI != null)
            {
                _fullVesselUI.SelectVessel();
            }

            if (!_orbitOn)
            {
                OnToggleOrbit();
            }
        }