Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic saving system for Unity

A simple dynamic save system with generic data saving as strings.

Notice

This is a test project I have done with a company under tight deadline with specific requirements.

How it works

SaveableBehaviour contains extra functions for saving and loading it's data.

SaveManager script contains a list of saveable objects. It invokes save and load functions in each saveable object.

All of the data is saved as a list of strings in json format.

This achieves easy to use out of the box save/load system with easy addition of new saveable behaviours.

How to use

This repository can be copied and opened as is with Unity. The project contains one testing scene.

Alternatively the contents of the folder Assets can be copied into existing project.

Dependencies

None

Limitations

The setup requires manual setup of the manager and saveable objects.

There's is no save versioning. So if older save is opened with anything changed in the manager the save will break.

All of the data being saved as list of strings takes more space, takes more time to add new save objects, and is very inefficient.

About

A simple Save/Load system for Unity

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages