Пример #1
0
    public void Result_Display(int Team)
    {
        int TextNumber;

        if (Team == 1)
        {
            TextNumber = 2;
        }
        else
        {
            TextNumber = 1;
        }

        WinText.text = "Player " + TextNumber.ToString() + " win!";
    }