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