Coder Social home page Coder Social logo

sophiathekitty / sharedvariablesavesystem Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 0.0 744 KB

Some scriptable objects for sharing data between game elements and a system for saving the runtime values of those shared variables.

License: MIT License

C# 100.00%
unity unity-scripts save-system scriptable-object shared-variables

sharedvariablesavesystem's Introduction

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 and now updated to use generics based on this: 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.

Tutorials

Support Me

Become a Patron! | Buy Me a Coffee

sharedvariablesavesystem's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sharedvariablesavesystem's Issues

Fix Save Object Unit tests

I need to test the different save methods to make sure they work and that the tests validate all the functions of the save object.

see if i can make an abstract test class that lets me test the different implementations with a standardized test that should work for the level that i need it to work. like SavableVariableTests that all the var type tests could extend.

Documentation

I need to finish updating the documentation for the new save object. would also be nice to include a tutorial.

  • do a xml comments pass to fill out what i might have missed or changed
  • update save object doc in wiki to include save methods
  • maybe see about making a website branch to use for the github.io site

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.