I have an inventory system where you can drag and drop objects and even combine them. For simplicity sake, lets consider a simple scenario.
Object1 and object2 on layer1.
InventorySlot1 and InventorySlot2 on layer0.
When I drag object1 and drop it on object2, it should destroy both objects and create an object3.
Here is an attached file
. Could someone kindly guide me as to what I am doing wrong?