public void PrimeProps() { Debug.Log("Start Prop"); sceneManager.flightStatus = SceneManager.FlightStatus.PrimingProps; Tello.SuspendControllerUpdate(); int i = 0; do { i++; Tello.StartMotors(); } while (i < 900); // OnFlyBegin(); Tello.ResumeControllerUpdate(); var preFlightPanel = GameObject.Find("Pre Flight Panel"); if (preFlightPanel) { preFlightPanel.SetActive(false); } sceneManager.flightStatus = SceneManager.FlightStatus.Launching; UnityEngine.Debug.Log("props started"); }