コード例 #1
0
 protected override void OnActivate()
 {
     yc.Activate();
     yc.user_controlled = true;
     ac.Activate();
     ac.user_controlled = true;
     rc.Activate();
     rc.user_controlled = true;
     MessageManager.post_status_message("Gravity turn Fly-By-Wire enabled");
 }
コード例 #2
0
 protected override void OnActivate()
 {
     imodel.Activate();
     aoa_c.Activate();
     yaw_c.Activate();
     roll_c.Activate();
     // save moderation states
     aoa_moderation_saved      = pitch_c.moderate_aoa;
     sideslip_moderation_saved = yaw_c.moderate_aoa;
 }