Method Save
Save(GameFoundationSerializableData, Action, Action<Exception>)
Asynchronously saves GameFoundation's data onto the persistence layer.
Declaration
void Save(GameFoundationSerializableData content, Action onSaveCompleted = null, Action<Exception> onSaveFailed = null)
Parameters
Type | Name | Description |
---|---|---|
GameFoundationSerializableData | content | GameFoundation's data to persist. |
Action | onSaveCompleted | Called when data have been successfully saved. |
Action<Exception> | onSaveFailed | Called with a detailed exception when the save failed. |