Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/merpheus-dev/SaveUtility
Modular Save System for Unity
https://github.com/merpheus-dev/SaveUtility
modular save-system unity
Last synced: about 2 months ago
JSON representation
Modular Save System for Unity
- Host: GitHub
- URL: https://github.com/merpheus-dev/SaveUtility
- Owner: merpheus-dev
- License: mit
- Created: 2019-10-18T20:09:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-13T14:28:28.000Z (about 5 years ago)
- Last Synced: 2024-08-03T05:17:58.142Z (5 months ago)
- Topics: modular, save-system, unity
- Language: C#
- Size: 24.4 KB
- Stars: 19
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SaveUtility
Modular Save System for Unity# Example
- Go to Top Menu Subtegral>SaveUtility>Generate to manually generate wrapper scripts.
- Use Subtegral>SaveUtility>Auto Generate to enable auto wrapper code generation.
- Create a scriptable object from generated wrappers from Create Menu>Save Utility>Your Data Class' Wrapper
- Use it in your class:
```C#
public class MyAwesomeSaveManager
{
[SerializeField] private MyPotatoCountWrapper serviceWrapper;
//Load data, returns a new instance with default values of your serialized class
_data = serviceWrapper.LoadData();
//Saves data
serviceWrapper.SaveData(_data);}
```# Installation
You can either clone the project and put it inside the "Packages" folder of your project or add it to your *package.json* file as follows:
```json
{
"dependencies": {
"com.m3rt32.saveutility": "https://github.com/m3rt32/SaveUtility.git"
}
}
```
# TO-DO:
- Default components
- Add encryption feature(can be turned on/off)