SaveController
Class in SurvivEngine.Serialization namespace
Inherits from UnityEngine.MonoBehaviour
Class in SurvivEngine.Serialization namespace
Inherits from UnityEngine.MonoBehaviour
Main controller class for save / load operations.
Reloads the currently active scene. Optionally can attempt to load save data.
loadSave Whether or not data from file should be loaded when the scene is reloaded.
Retrieves data parameters from the given world and writes them to file.
world The world to serialize and save.
Loads data parameters from a save file if one exists.
saveFilePath The file path to load save data from.
Attempts to load data parameters from a save file.
saveFilePath The file path to load save data from.
saveData The loaded save data.