Table of Contents

ItemDataBehaviour Class

public class ItemDataBehaviour : MonoBehaviour, ISaveable
Inheritance
ItemDataBehaviour
Implements

Fields

itemData

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

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

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.