private IEnumerator StartEngine() { if (isStartingEngine) { yield break; } isStartingEngine = true; yield return(sound.DoPlayEngineStart()); dynamics.StartEngine(); scoreEffect.EngineStarted(); isStartingEngine = false; }
private IEnumerator StartEngine() { if (isStartingEngine) { yield break; } isStartingEngine = true; yield return(sound.DoPlayEngineStart()); dynamics.StartEngine(); scoreEffect.EngineStarted(); isStartingEngine = false; }