GameObject theParent
= new GameObject
();theParent.layer = 11; // the GUI layer
theParent.transform.name = "MessageParent";
theParent
.transform.position = new Vector3
(0,
5,
0); // Is there anything wrong here?
GameObject comboInstance = NGUITools.AddChild(theParent,messagePrefab);