Save Value Base

CarterGames.SaveManager.Runtime
CarterGames.Assets.SaveManager

The save value base is a base class used to define a save value. It contains a few fields/properties for its inheriters to implement, most of which are for access purposes in the asset as it isn’t possible to cast to a generic type without knowing the type.

API

Fields

public string
The key for the save value to use for lookup purposes pretty much.

Properties

public abstract object
Stores the raw value for the save value, implemented by inheriting classes.

Methods

Resets the value to the type’s default value from the implemented method in the inheriting class.