Exemplo n.º 1
0
    private void Start()
    {
        List <GameData> talentConfs = XMLData.GameDatas;

        Instance = this;
        CreateGround();

        UIManage.CreateView(new SelectRoleController());
        IsMyRound = true;
    }
Exemplo n.º 2
0
    public override void Dead()
    {
        if (isDead)
        {
            return;
        }
        isDead = true;
        int score = XMLData.GameDatas[0].score + GameManage.Instance.round + GameManage.Instance.score;

        Debug.LogError(XMLData.GameDatas[0].score + "    " + GameManage.Instance.round + "     " + GameManage.Instance.score);
        XMLData.SetGameData(score, XMLData.GameDatas[0].talent);
        UIManage.CreateView(new EndController());
    }