Hey.
What the title says, how do I post or pre creation of a new GameObject (empty) and then make it become a Child of the gameObject which the script which spawned it is attached to.
public GameObject DummyObject;
void Start ()
{
DummyObject = new GameObject();
}
This spawns a new GameObject() in the world, but how do I then force it to become a child of this instance of the gameObject
Thanks for reading.