Exemplo n.º 1
0
        public CharHandler AddHero(int heroId, int heroLv, int heroIndex)
        {
            CharHandler h = SpawnHandler.GetInst().CreateHeroM(heroId, heroIndex);

            h.EnableChar();
            BattleHeroListPanel.GetInst().InsertBattleHero(heroId, heroLv, heroIndex);
            return(h);
        }