Table of Contents

ISaveable Interface

public interface ISaveable

Properties

IsDirty

Save System Would Only save files that are Dirty in short has changes to submit

Methods

AssignSerializedData(string)

Implement how your component will adjust on data load

DeleteLocalFile()

Debug only Method. Do not use for any other reason

GetSerializedData()

Return a serialized string for the save system to save

GetUniqueID()

Must Return an Unique ID for save system to save file with this name

LoadSelf()
ManageSaveLoadException(Exception)

This should never happen. If anything comes here, You probably need to check the flow of loading. Override to manage this in edge case scenario. Strongly discouraged.

SaveSelf()

Ideally you shouldn't be using this. However, this is for managing edge cases