XML SafeSave is a simple, compact and efficient data storage code library for Unity.You can use it to store your game's data easily inside xml files. It even features an option to encrypt your data, in order to protect it against particularly curious end users.
The keys are managed automatically for you, so that you don't have to wildly pass them around your scripts back and forth, and store them in eventually unsafe places.
XML SafeSave is very simple to use, efficient, user friendly and versatile.
You can check out my
tutorial video about XML SafeSave on YouTube to find out how it works (and how simple it is).
The API is well documented, featuring helpful VS Intellisense comments, two example scripts, scenes and a tutorial PDF file on how to use it.
If you have any questions, feedback, requests, bug reports or anything else regarding XML SafeSave, just feel free to
contact me via E-Mail or post something onto the original
Unity forums thread.
-----------------------------------
Version 1.1 ships with many bug fixes and performance improvements, as well as an overload for the save and load methods: you can now retrieve the raw byte[] array of an xml formatted document instead of saving the data to a file. To load it again, just feed the previously saved byte[] array into the Load function instead of the xml file path (this is particularly useful for Xbox One development).
Additionally, the Save method now returns true or false depending on whether the saving procedure has failed or succeeded. Furthermore, the default encoding has been set to the .NET standard Unicode (meaning UTF-16).