Drag and drop GameObject to on screen icon

Hi, I am new to Unity and I need some help.

I was able to search through the web for drag and drop scripts for Gameobjects. However, what I couldn’t find was to make a dragging and dropping Gameobject to interact with other elements of the game.

What I want is to have the player, select a 3D gameobject, and then drag and drop it into an on-screen icon - such as the bin, and then destroy the object. So, I was able to find “drag and drop” and “destroy game object” but what I could not find was the interaction between the 3D game object and on-screen icon.

I really just need someone to point me to the right direction, no need to write the scripts for me.

Thanks a million!

Use collision detection, so you can find out what the dragged object is on top of.