示例#1
0
    void RemoveUsedHeroes()
    {
        HeroFactory.UpdateAvailableHeros();

        Dictionary <int, HeroInfoBase> dict = HeroInfoBase.data;

        foreach (HeroData hero in m_OwnedHeroes)
        {
            dict.Remove(hero.HashCode);
        }
    }