Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

SavableVariable

sophia daniels edited this page Oct 3, 2018 · 7 revisions

Implements: ScriptableObject

Description

Base abstract class for savable variables. Used with Save Object to save and load data.

Properties

bool Loaded

Set to true if data has been loaded


Methods

void OnClearSave()

Clear the saved data

string OnSaveData()

Converts runtime data to a string to be saved

  • Returns: String of runtime data

void OnLoadData(string data)

Parses string of data into runtime data

  • Param: data - Data to be loaded
Clone this wiki locally