public override void OnFixedUpdate()
 {
     if (current_step != null)
     {
         try
         {
             current_step = current_step.OnFixedUpdate();
         }
         catch (Exception ex)
         {
             Debug.LogException(ex);
         }
     }
 }
 public override void Drive(FlightCtrlState s)
 {
     if (current_step != null)
     {
         try
         {
             current_step = current_step.Drive(s);
         }
         catch (Exception ex)
         {
             Debug.LogException(ex);
         }
     }
 }
Beispiel #3
0
 public override void OnFixedUpdate()
 {
     if (current_step != null)
     {
         try
         {
             current_step = current_step.OnFixedUpdate();
         }
         catch (Exception ex)
         {
             Debug.LogException(ex);
         }
     }
 }
Beispiel #4
0
 public override void Drive(FlightCtrlState s)
 {
     if (current_step != null)
     {
         try
         {
             current_step = current_step.Drive(s);
         }
         catch (Exception ex)
         {
             Debug.LogException(ex);
         }
     }
 }
 public void setStep(AutopilotStep step)
 {
     current_step = step;
 }
Beispiel #6
0
 public void setStep(AutopilotStep step)
 {
     current_step = step;
 }