Exemplo n.º 1
0
    public override void CreateCard(int id)
    {
        CardButton card = Instantiate(prefCard, container.transform).GetComponent <CardButton>();

        card.InitCard(id);
        activeCards.Add(card);
        UpdateWeather(card.cardType);
    }
Exemplo n.º 2
0
    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();
    }