void OnDrop(GameObject drag)
{
// Delete scroll view binding
drag.GetComponent<UIDragScrollView>().scrollView = null;
// Center the position of the card to this slot
drag.transform.localPosition = transform.localPosition;
drag.GetComponent<UIDragDropItem>().restriction = UIDragDropItem.Restriction.None;
// Play scale animation after placing the card and scale to the size of the current slot
TweenScale
.Begin(drag,
.01f,
new Vector3
(.4f,
.4f
)); }