예제 #1
0
 private void ChangeControlSys(Vessel v)
 {
     if (FARControlSys.SetActiveControlSysAndStabilitySystem(v, lastActiveVessel))
     {
         lastActiveVessel = v;
     }
 }
예제 #2
0
        public void LateUpdate()
        {
            if (FlightGlobals.ready)
            {
                //FARFlightButton = FARControlSys.ActiveControlSys && (FARControlSys.ActiveControlSys.vessel == FlightGlobals.ActiveVessel);

                if ((object)lastActiveVessel == null || lastActiveVessel != FlightGlobals.ActiveVessel)
                {
                    if (FARControlSys.SetActiveControlSysAndStabilitySystem(FlightGlobals.ActiveVessel, lastActiveVessel))
                    {
                        lastActiveVessel = FlightGlobals.ActiveVessel;
                    }
                }
            }
        }
예제 #3
0
        public void LateUpdate()
        {
            if (!CompatibilityChecker.IsAllCompatible())
            {
                return;
            }

            if (FlightGlobals.ready)
            {
                //FARFlightButton = FARControlSys.ActiveControlSys && (FARControlSys.ActiveControlSys.vessel == FlightGlobals.ActiveVessel);

                if (FARControlSys.ActiveControlSys == null)
                {
                    if (FARControlSys.SetActiveControlSysAndStabilitySystem(FlightGlobals.ActiveVessel, lastActiveVessel))
                    {
                        lastActiveVessel = FlightGlobals.ActiveVessel;
                    }
                }
            }
        }