Destroying an object including all children.

As title says; how do I destroy an object including all children?

Does it matter is one of the children is the Main Camera?

I’m probably being stupid.

Thanks, Bobblehead.

Destroying a GameObject automatically destroys all of its children.