How to delete a child object


I have a prefab named : LeftGrunt.
I use it for my spawner. Here is the code for death decision:

			AI ai=(AI)GetComponent("AI");
			//tell ai that he is dead
			/*Destroy (gameObject);*/

Sadly, with this code I kill the capsules of all of my spawned units.
How can i destroy the capsule only for the unit for which the if(dead) expression proven TRUE ?

PS: “Capsule” is the child of the LeftGrunt prefab.

Use transform.Find instead. It will find only the children of your object instead of finding any object in the game.