Page 1 of 1

How do I delete or initialize archive files

Posted: Wed Apr 24, 2024 9:42 pm
by DumplingQ
How do I delete or initialize archive files
Hi, my friend!
I added "Save System", "Dialogue System Saver", "Json Data Serializer" to "Dialogue System". But now I want to delete the previously saved session data when I click "New Game". What do I do? Is it just to delete the local file? So where are the local files stored?

Re: How do I delete or initialize archive files

Posted: Wed Apr 24, 2024 10:33 pm
by Tony Li
Hi,

Use SaveSystem.DeleteSavedGameInSlot(#). If there's no saved game in the slot, it won't complain, so you can always delete slots when starting a new game without having to check if the slot has a saved game.

If you don't want to write any code, you can use the equivalent method in the SaveSystemMethods component.