Topic: cHow to instantiate a prefab as a child in Unity?
You just need the Instantiate function and a few variables to track its parent and position. In Unity to spawn a prefab as a child of another object you just need to assign it to the desired parent object. Here's an example of how to do this, with a sample cube prefab: