How to add objects to a scene via button click

I’d like to know how to use a button click to bring objects to the scene. Should I create the objects in a separate scene, say scene 1? Create a button in scene 2 and then when the button is clicked the object/s appear.

Make a prefab, to do this drag the object in your hierachy to your assets.
And as scripting:

var object1 : prefab
var myposition : GameObject;

function OnGUI ()
        if (GUI.Button(Rect(10,10,100,100),"Button name"))
                 Instantiate(object1, myposition.transform.position, myposition.transform.rotation)

And in the inspector assing the variables

Technically, you could do that I guess… But what you’re really wanting is to Instantiate an object: