public void Accept()
{
DraggingItem = AttachedItem.DraggingItem;
GameObject dropItem = Instantiate(DraggingItem.GetComponent<AttachedItem>().Item.DroppedItem);
dropItem.AddComponent<PickUpItem>();
dropItem.GetComponent<PickUpItem>().AttachedItem.Item = DraggingItem.GetComponent<AttachedItem>().Item;
dropItem.transform.localPosition = GameObject.FindGameObjectWithTag("Player").transform.localPosition;
//Inventory.UpdateItemList();
Destroy(DraggingItem);
//DropPanel.SetActive(false);
}