Ejemplo n.º 1
0
    public void DrawCard()
    {
        if (deckController.deck.Count <= 0)
        {
            return;
        }
        Card       card    = deckController.PopCard();
        GameObject cardObj = card.GeneralInstant();

        cardObj.GetComponent <DragHandler>().pc = this;
        handsController.PushCard(cardObj);
    }