Class BaseDataPersistence
Base persistence class derived from IDataPersistence
Implements
Namespace: UnityEngine.GameFoundation.DataPersistence
Assembly: solution.dll
Syntax
public abstract class BaseDataPersistence : IDataPersistence
Constructors
| Name | Description |
|---|---|
| BaseDataPersistence(IDataSerializer) | Basic constructor that takes in a data serializer which this will use. |
Properties
| Name | Description |
|---|---|
| serializer | The serialization layer used by the processes of this persistence. |
Methods
| Name | Description |
|---|---|
| Load(Action<GameFoundationSerializableData>, Action<Exception>) | Asynchronously loads GameFoundation's data from the persistence layer. |
| Save(GameFoundationSerializableData, Action, Action<Exception>) | Asynchronously saves GameFoundation's data onto the persistence layer. |