示例#1
0
    /// <summary>
    /// Set click on button User1.
    /// </summary>
    public void NewUser1Clicked()
    {
        string text = player1.GetComponent <Text>().text.ToString();

        if (text == "Create New")
        {
            btnCreate.SetActive(true);
        }
        else
        {
            btnStart.SetActive(true);
            obj.SetActivePlayer(listUser[idOfPlayer].player.id);
            obj.setActiveDigimon(listUser[idOfPlayer].player.digimon.id);
        }
    }