I am working to show an inventory screen when a button is pressed and populate the inventory boxes with the items in an Inventory array by creating objects at inventory screen image points. When the button is pressed again I would like the inventory screen background to go invisible (which is working) and the created objects for the inventory screen to be destroyed. That way if I open the inventory screen again and items have changed in the array it populates to the correct slot.
In the end, how to I delete all objects on a specific layer without having to individually call each object in the game (could be 100's)?