Jak wybrać przypadkowe dziecko w gameBject Niesamowita

public GameObject YourGameObject;

int randomChildIdx = Math.Random(0, YourGameObject.transform.childCount);
Transform randomChild = YourGameObject.transform.GetChild(randomChildIdx);
Obnoxious Oystercatcher