how to return all children of a gameobejct code example Example: unity get all children foreach (Transform child in parent) { //Your code }