public void OnDrop(PointerEventData eventData) { DraggableCard card = eventData.pointerDrag.GetComponent <DraggableCard>(); card.BackToHand(); }