how to go through all a gameobject childs code example Example: unity get all children foreach (Transform child in parent) { //Your code }