Пример #1
0
    private void SetNowChooseCard(HeroCard _value)
    {
        if (_value == null)
        {
            heroDetail.Hide(m_nowChooseCard);
        }
        else
        {
            heroDetail.Show(_value);
        }

        m_nowChooseCard = _value;
    }
Пример #2
0
    private void RefreshData()
    {
        heroDetail.Hide();

        ClearMapUnits();

        ClearCards();

        ClearSummonHeros();

        ClearHeros();

        ClearMoves();

        CreateMapPanel();

        CreateCards();

        CreateSummonHeros();

        CreateHeros();

        CreateMoves();

        CreateMoneyTf();

        RefreshTouchable();
    }