How to achieve dynamic to create a map in scene?

Hi All
I want to create a dynamic map in my main scene, this means games will auto to create some objects.
there is only a main camera when I create a scene in unity3d. How to call my C#? How to create a object in the code?
I am a fresh man.

Thanks

Have a script attached to the MainCamera that Instaniates objects where you want. Should not be too hard

Also, you can create GameObject in scene named “EntryPoint”, and add a script to it.

But, I think at first you should read some unity3d tutorials and search something like “unity3d tutorial 1”, or you can take a look here:

Thanks, I have created.
// Use this for initialization
void Start () {
string s1 = “Test for begin”;
for(int i = 0; i < 10; i++)
{
string s2 = s1 + i;
System.Console.WriteLine(s2);
}
}

I got the result in editor.log, I have a question why it not output in console?

Cause this is not the system command window.
In ordner to log something use, Debug.Log(“Message”);