list of all children of a gameobject unity code example Example: unity get all children foreach (Transform child in parent) { //Your code }