private void CheckForWinner() { if (_roundManager.HasWinner()) { _roundManager.EndGame(_roundManager.GetWinner()); } else { StartRound(); } }
void EndGameCall() { rm.EndGame(); EndGameCanvas.enabled = true; if (rm.Player1Score > rm.Player2Score) { PlayerWinText.text = "Player 1 Won"; } else { PlayerWinText.text = "Player 2 Won"; } }