예제 #1
0
    void MoveCard(DragBehaviour behaviour)
    {
        PhysicalCard attachedCard = behaviour.GetComponent <PhysicalCard>();

        if (attachedCard != null)
        {
            attachedCard.card.MoveTo(this);
        }
    }