private IEnumerator EndingCoroutine() { _isInEnding = true; foreach (var player in _players) { player.ForceForward(); } _musicManager.PlayEnding(); _bird.GoAway(); var intensity = 1f; for (; intensity >= 0; intensity -= Time.deltaTime / _endingFadeTime) { yield return(null); SetIntensity(intensity); } }