IEnumerator TimerCor() { while (continueProgress.TimeLeft > 0.0f) { OnUpdate.Dispatch(continueProgress); yield return(null); continueProgress.UpdateTimePassed(); } OnUpdate.Dispatch(continueProgress); Skip(); OnComplete.Dispatch(); }