unity how to destroy child
Code Example - unity how to destroy child
//Destroys the first child of the Parent variable
Destroy(Parent.transform.GetChild(0).gameObject);
//Destroys the first child of the Parent variable
Destroy(Parent.transform.GetChild(0).gameObject);