FindGameObjectWithTag then Destroy it

hi …

FindGameObjectWithTag then Destroy it

i try to find info about this on answers but not what i need.
please if this is posible, some body can give me the script or some idea please to do it ?

thanks a lot

GameObject objToDestroy = GameObject.FindGameObjectWithTag("TagName");
Destroy(objToDestroy);

Hope that helps.

1 Like

thanks so much Chris !!!