Exemple #1
0
        public void Craft()
        {
            Global.RemoveCard(baseCardSRC.CardName);
            Global.RemoveCard(fodderCardSRC.CardName);
            Global.AddCard(resultCardSRC.CardName);
            //TODO update user credits

            //reset UI
            baseCardSRC         = null;
            fodderCardSRC       = null;
            resultCardSRC       = null;
            CraftCost.text      = "COST: ";
            BaseCard.material   = null;
            FodderCard.material = null;
            ResultCard.material = null;
        }