Destroy a series of clones

if I create a series of clones of the same prefab, how can I subsequently destroy them all without “marking” them? It is possible to do something like: Destroy (InstancedPrefab(1)); Destroy (InstancedPrefab(2)); etc?

You would want a reference to the prefab. You could add each clone to a list when you create them and destroy them via that reference.

1 Like