place all children into list code example
Example: how to get array of children transform
foreach (Transform child in transform){
// Do something to child
}
foreach (Transform child in transform){
// Do something to child
}