Method Load
Load(Action<GameFoundationSerializableData>, Action<Exception>)
Asynchronously loads GameFoundation's data from the persistence layer.
Declaration
public abstract void Load(Action<GameFoundationSerializableData> onLoadCompleted = null, Action<Exception> onLoadFailed = null)
Parameters
Type | Name | Description |
---|---|---|
Action<GameFoundationSerializableData> | onLoadCompleted | Called with the loaded data when they have been successfully loaded. |
Action<Exception> | onLoadFailed | Called with a detailed exception when the loading failed. |