After I did a bit of research looking for the answer myself I decided to resort to the forum. In the game that I am working on after the character dies, I would like to delete all instances of one of my game objects. The game objects that are to be deleted are being created dynamically with a factory. My question is, is there a command to simply delete all instances of a certain game object? Is there a way to keep track of all the game objects when they are created? (So I can iterate through and delete them)
Any and all help is greatly appreciated. Thanks.