You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CG-Tespy edited this page May 4, 2020
·
2 revisions
Abstract class for MonoBehaviours that handle loading some form of save data through a SaveDataItem instance. Comes in two flavors: generic and non-generic. It's best to inherit from the generic one if you're looking to extend what save data types the system can load.
Tries to load the save data in the passed item. Returns true if successful, false otherwise.
Generic Version (Type Arg: TSaveData)
Public Methods
abstract bool Load(TSaveData data)
Like the superclass version, except it doesn't need to check if the input can be loaded. The input should already be what the loader was made to work with.