Hey all,
I just started using Unity, so I apologize if this question's a little noobish. I was just wondering if anyone knew what the order of instantiation is between a Parent GameObject and its children. I know it's random by design between all root GameObjects, but if a GameObject has children, can I be guaranteed that they are instantiated when the Parent is?
To illustrate, if this is the Start method of the Parent GameObject,
// Use this for initialization
void Start () {
Mesh SomeMesh = transform.Find("ChildName").GetComponent<MeshFilter>().mesh;
}
Can I be sure ChildName is always initialized, and Find won't return null?