Spawn menu like gmod,Spawn Menu Like Gmod

When you click an object it spawns in front of you , please help me i havent find any answers,Hello im making a sandbox game like gmod but the only problem i have is that how do i make a spawn menu, when you click an object ut spawns in front of you,i have no clue.

There is a function called Instantiate, Where you can spawn prefabs at given locations and rotations
Take a look at the wiki here: Unity - Scripting API: Object.Instantiate

But does it make list like when you press q an object list pops up and you select whatever you want and it spawns in front of you