void RefreshIcon(ItemHeroLineUp icon, HeroData hd) { if (null != hd && hd.id != 0) { icon.RefreshUI(hd, false); } else { icon.RefreshUI(null, false); } }
void RefreshIcon(ItemHeroLineUp itemLine, int index) { if (heroNode.icon_name == itemLine.icon.normalSprite) { itemLine.RefreshUI(null); herolist.heroPlayList[index].id = 0; } }