Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.
sophia daniels edited this page Oct 3, 2018 · 4 revisions

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: https://unity3d.com/how-to/architect-with-Scriptable-Objects and now updated to use generics based on this: https://fishtrone.wordpress.com/2018/09/16/saving-scriptable-object-variables/

How to use

  • Create a new SaveObject (under the assset create menu)
  • Create Variables you want to have saved (Asssets->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.)
  • Write classes use Variables to store and share data.

Clone this wiki locally