Hi
I have a script which will Instantiate prefabs which works fine but I wanted them to be added to a gameobject that already exists and make the instantiated prefab a child of the already existing gameobject without making a new one. If it helps here is the script…
if (randomizer == 1 && i <= 0)
{
Instantiate(A, new Vector3 (0,0,0), Quaternion.identity);
System.Random random = new System.Random();
randomizer = random.Next (1,5);
i++;
}
and an image of what gameobject I want the Instantiated objects to become children of. Thank you in advance and thank you for helping me with my studies.