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