unity how to delete all object with certain tag from the scnee code example
Example: unity destroy all objects with tag
GameObject[] enemies = GameObject.FindGameObjectsWithTag("Enemy");
foreach(GameObject enemy in enemies)
{
GameObject.Destroy(enemy);
}