Example #1
0
    public static void DropCreatureCard(Transform current, Transform parent, CardInstance cardInstance)
    {
        cardInstance.isUsable = false;

        // Execute any special card abilities on drop here

        SetParentForCard(current, parent);

        if (cardInstance.isUsable == false)
        {
            cardInstance.ChangeToPlacedCard();
        }

        _gameManager.currentPlayer.DropCard(cardInstance);
    }