I would like to know how to use a button click to bring objects to the scene.
1) Create a button using Unity GUI system.
2) Create a script:
public GameObject sampleObject;
public void AddObject()
{
Instantiate(sampleObject, Vector3.zero, Quaternion.Identity);
}
3) Attach this script to an object in the scene, and set a prefab to sampleObject.
4) Select your button and in the Inspector add a new OnClick script, and select the object with the new script attached, select AddObject() method.
Now when you click on the button it should instantiate an object at (0.0f, 0.0f, 0.0f).
Hope that helps you.