コード例 #1
0
    private void Recalcul()
    {
        cost              = Data.GetTypeValue(type, number);
        textCost.text     = cost.ToString();
        textStrength.text = number.ToString();

        if (_currentCard != null)
        {
            _currentCard.UpdateCard(type, icon.sprite, cost, number);
        }

        deckBuilding.CalculTotal();
    }