static void callcontrol(AutoFlight c)
 {
     //Debug.Log ("Did reached here?");
     if (control != c)
     {
         control = c;
         //Debug.Log("Controled");
     }
 }
 static void callcontrol(AutoFlight c)
 {
     //Debug.Log ("Did reached here?");
         if (control != c) {
             control = c;
             //Debug.Log("Controled");
         }
 }