unity 2d delete all clones code example
Example: delete all clones unity
var clones = GameObject.FindGameObjectsWithTag ("tag");
foreach (var clone in clones) {
Destroy(clone);
}
var clones = GameObject.FindGameObjectsWithTag ("tag");
foreach (var clone in clones) {
Destroy(clone);
}