unity access child component code example
Example: unity access child
// To acces a child of a gameObject use the combination below
parentGameObject.transform.GetChild(0).gameObject
// To acces a child of a gameObject use the combination below
parentGameObject.transform.GetChild(0).gameObject