private void Start() { List <GameData> talentConfs = XMLData.GameDatas; Instance = this; CreateGround(); UIManage.CreateView(new SelectRoleController()); IsMyRound = true; }
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()); }