public override void CreateCard(int id) { CardButton card = Instantiate(prefCard, container.transform).GetComponent <CardButton>(); card.InitCard(id); activeCards.Add(card); UpdateWeather(card.cardType); }
public virtual void CreateCard(int id) { CardButton card = Instantiate(prefCard, container.transform).GetComponent <CardButton>(); card.InitCard(id); activeCards.Add(card); UpdateTextDamage(); GameManager.ins.boardManager.CalculateOvarall(); }