in my game i have a defense system when they go to 0 hp the children of the object needs to get destroyed how would i do this?
i have this empty
if(CurHealth == 0){
}
the game object cant be destroyed and there are other objects with the same name. just so you know.
the object is cached as East and i need to delete the children it has.