public void Result_Display(int Team) { int TextNumber; if (Team == 1) { TextNumber = 2; } else { TextNumber = 1; } WinText.text = "Player " + TextNumber.ToString() + " win!"; }