public void onInfoPanelClick(int index) { infoPanelManager.setTextfields(AllHeros.GetFighter(index)); shopPanel.SetActive(false); moneyPanel.SetActive(false); nextLevelButtonPanel.SetActive(false); infoPanel.SetActive(true); upgradeButtonPanel.SetActive(false); }
public void OnInfoButton() { infoPanelManager.setTextfields(friendlyCurrentFighter); infoPanel.SetActive(true); }