Description
Save/Load actions for Unity Visual Scripting (ex-Bolt) to support SaveLoad addon. Actions allow you to save/load game to/from byte array or file(s), located under Unity's persistent folder. Saving/loading to/from files on WebGl platform is not supported
File based units
Use these units if database content is the only thing you want to save, and you want to use local files as a persistent storage Files are stored under Unity's persistent folder
- SaveGame: save game to a file.
- LoadGame: load game from a file.
- ListSaves: load all file names to string array (without path and extension)
- DeleteSave: delete saved file.
Additional information:
- All files have ".sav" extension.
- SaveGame/LoadGame/DeleteSave have optional fileName parameter (default is "game"). fileName parameter format is a file name without path and extension.
- All actions have "debug" parameter- if it's turned on, information about files is printed to Unity console.
Array based units
Use these units if database content is only a part of your save data or if you want to store saved data in the cloud (not in the local file).
- SaveGameToArray: save a game to byte array.
- LoadGameFromArray: load a game from byte array.
Releases
Click to see all releases
Version | Release date | Log |
---|---|---|
1.1 | Feb 24, 2021 | Added units for saving/loading from/to byte array |
1.0 | Sep 16, 2020 | Versioning reset (unified plugin infrastructure) |
0.1.1 | July 25, 2020 | Added hints (Succession/Requirements methods) to avoid dimmed units |
0.1.0 | August 05, 2019 | Initial release |