https://github.com/sophiathekitty/SharedVariableSaveSystem
Some scriptable objects for sharing data between game elements and a system for saving the runtime values of those shared variables.
https://github.com/sophiathekitty/SharedVariableSaveSystem
save-system scriptable-object shared-variables unity unity-scripts
Last synced: 9 months ago
JSON representation
Some scriptable objects for sharing data between game elements and a system for saving the runtime values of those shared variables.
- Host: GitHub
- URL: https://github.com/sophiathekitty/SharedVariableSaveSystem
- Owner: sophiathekitty
- License: mit
- Archived: true
- Created: 2018-04-26T23:54:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T02:58:37.000Z (over 6 years ago)
- Last Synced: 2024-08-02T05:13:48.613Z (over 1 year ago)
- Topics: save-system, scriptable-object, shared-variables, unity, unity-scripts
- Language: C#
- Size: 727 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shared Variable Save System
Some scriptable objects for sharing data between game elements and a system for saving the runtime values of those shared variables.
Based on this tutorial: *[architect with scriptable objects](https://unity3d.com/how-to/architect-with-Scriptable-Objects)* and now updated to use generics based on this: *[saving scriptable object variables](https://fishtrone.wordpress.com/2018/09/16/saving-scriptable-object-variables/)*
## How to use
* Create a new *SaveObject* (under the asset create menu)
* Create *Variables* you want to have saved (Assets->Create->Variables)
* Put *Variables* in folder with the same name as the *SaveObject*
* Add *Variables* to *SaveObject's* Data list. (click search for variables to find all variables under /[SaveObjectName]/ folder.)
* Create *SaveMethod* for where you want to save (Binary or PlayerPrefs)
* Add *SaveMethod* to save *SaveObject*
* Write classes use *Variables* to store and share data.
* You can write your own *SaveMethods* to extend the system to save to remote locations.
### [Documentation](https://sophiathekitty.github.io/SharedVariableSaveSystem/html/index.html)
### Tutorials
* [Coming soon](https://github.com/sophiathekitty/SharedVariableSaveSystem/wiki)
### Support Me
Become a Patron! | [Buy Me a Coffee](buymeacoff.ee/wTBASiz)