I have several clones of an item. In my game the goal is to collect these items. I want the player to be able to save his progress, but then I need to save which items he had collected already and on next start up remove those clones from the level. How can I achieve that?
I am not sure how to get the index of the clone when I collide with it. If I could do that, then I would save the index into an array and next start up just get the indexes the player has collected and remove clones with those indexes from the level. Maybe there is a better approach?