Save System Help - Remove Savers from Prefabs Save
Posted: Thu Jun 06, 2024 12:10 pm
Hello,
This might be more of a not understanding how saves in general work.
I just got my first "position saver" setup and everything seems to be working as intended. When I load a new game, save the scene, and reload the scene the positions and some variables I have setup store correctly.
I am facing a new challenge now though, when I pick up an item it goes into an inventory list. I then save the game and try to reload my scene. Unfortunately, now the item is back in the game again because the position saver was no longer there to update to say that it had been removed.
Is there a way to remove a position saver for an item from my save slot, can I do this through code as the item is picked up or is there a trick to making sure items that have been picked up no longer spawn.
Thank you for your help!
This might be more of a not understanding how saves in general work.
I just got my first "position saver" setup and everything seems to be working as intended. When I load a new game, save the scene, and reload the scene the positions and some variables I have setup store correctly.
I am facing a new challenge now though, when I pick up an item it goes into an inventory list. I then save the game and try to reload my scene. Unfortunately, now the item is back in the game again because the position saver was no longer there to update to say that it had been removed.
Is there a way to remove a position saver for an item from my save slot, can I do this through code as the item is picked up or is there a trick to making sure items that have been picked up no longer spawn.
Thank you for your help!