// Update is called once per frame void Update() { currentFlightData.UpdateFlightData(); if (manualFlight) { ProcessThrottleChange(); ProcessDirectionChange(); ProcessRudderChange(); //CheckCourse(); } //Check for warnings if (currentFlightData.VerticalSpeed < -3 && !descentWarning) { soundController.ToggleDescentWarning(); descentWarning = true; } else if (currentFlightData.VerticalSpeed > -3 && descentWarning) { soundController.ToggleDescentWarning(); descentWarning = false; } }