Beispiel #1
0
    private void updateTitleHeaderFields()
    {
        Text titlePanelText = titlePanel.GetComponentInChildren <Text>();

        switch (GameControl.instance.Leaderboardfilter)
        {
        case 1:
            titlePanelText.text = "TOP PLAYERS";
            break;

        case 2:
            titlePanelText.text = "NATIONAL";
            break;

        case 3:
            titlePanelText.text = "REGION";
            break;

        case 4:
            titlePanelText.text = "STATE";
            break;
        }
    }