Example #1
0
 public static void Show(EndScreen prefab, Transform parent, string winnerTeamName)
 {
     Instantiate(prefab, parent).winnerTeamName = winnerTeamName;
 }
 public void ShowGameOverUI(string winnerTeamName)
 {
     gameScreen.HideGameScreen();
     EndScreen.Show(endScreenPrefab, transform, winnerTeamName);
 }