public virtual void OnWin() { isGamePaused = true; cachedGameFlow.OnEndGame(true, GetScore(true)); onGameEnd.Invoke(true); }