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); } } }
public void setStep(AutopilotStep step) { current_step = step; }