private void SetNowChooseCard(HeroCard _value) { if (_value == null) { heroDetail.Hide(m_nowChooseCard); } else { heroDetail.Show(_value); } m_nowChooseCard = _value; }
private void RefreshData() { heroDetail.Hide(); ClearMapUnits(); ClearCards(); ClearSummonHeros(); ClearHeros(); ClearMoves(); CreateMapPanel(); CreateCards(); CreateSummonHeros(); CreateHeros(); CreateMoves(); CreateMoneyTf(); RefreshTouchable(); }