public void ItemBought(PopupElement newPopupElement) { CampaignManager.BuyItem(newPopupElement.characterType, newPopupElement.characterId, newPopupElement.teamId); this.panel_Shop.GetComponent <ShopPanel> ().Init(); this.panel_Shop.GetComponent <ShopPanel> ().ItemBought(newPopupElement); this.HidePopup(7); }