How to get children of a given an array of gameobjects?

Hi guys, the thing is that i need to get all children from each gameobject that is on one array, to track their position, and i’m having a headache with somehting that should be simple, hope some of you can see something i cant.

Here is what i got now:


and what i see from inspector:!
158532-screenshot-3.png
I just need the childs from that 3 (or maybe more) gameobjects

if you want first child, try this

void FillSpawnList()
    {
        List<GameObject> list = new List<GameObject>();
        for (int i = 0; i < pathsList.Length; i++)
        {
            if (pathsList*.transform.childCount == 0) continue;*

Transform parent = pathsList*.transform;*
for (int j = 0; j < parent.childCount; ++j)
{
list.Add(parent.GetChild(j).gameObject);
}
}

spawnList = list.ToArray();
}