unity 3d script create child prefab code example
Example: unity instantiate prefab as child
//Instantiate Object
GameObject go = Instantiate(A, new Vector3 (0,0,0), Quaternion.identity) as GameObject;
// Tranform as child
go.transform.parent = GameObject.Find("Stage Scroll").transform;