public void AddChar(HeroCard hero) { if (EnterName.text == null) { hero._heroName = "N/A"; } else { hero._heroName = EnterName.text; } hero.AddingCharacteristics(_rCount, _bCount, _iCount, _wCount); CalcParams(hero); hero.InfoParams(); Clear(); }
public void AddChar(HeroCard hero) { if (EnterName.text == null) { hero._heroName = "N/A"; } else { hero._heroName = EnterName.text; } hero.AddingCharacteristics(_rCount, _bCount, _iCount, _wCount); CalcParams(hero); hero.InfoParams(); Clear(); }