How to Create Instantiated Objects Inside The Game Object Where The Script Is Located?

Hello, I have a gameObject called “map”. This “map” gameObject just has a script attached to it, in which it creates objects. When Instantiate an object in the script is gets put into the hierarchy at the same level as the “map” gameObject instead of being inside it, Any help?
All the script has is:

		Instantiate(start, new Vector3(-10.5f,-7.5f,0), Quaternion.identity);

Use Transform.SetParent().

In your case that would be something like: obj.transform.SetParent(this.transform); where obj is the instantiated gameobject.

Make start a child of map in the line after the instantiation, that should do it.