Interface ISaveSystem

Namespace
CodeSmile.AnyMotion.Core.SaveLoad
/
Assembly
ApiSource.dll

Saves and loads preset-shaped data as text. Composes an ITextSerializer and an IFileIO; knows nothing about PresetAsset<T> or ScriptableObjects, so it is reusable for any serializable data, not only preset assets.

public interface ISaveSystem
Expand Details ...

Methods

Load<T>(string)

LoadResult<T> Load<T>(string filePath) where T : new()

Parameters

Type Name Description
string
filePath

Returns

LoadResult<T>

Type Parameters

T

Save<T>(T, string)

SaveResult Save<T>(T data, string filePath)

Parameters

Type Name Description
T
data
string
filePath

Returns

SaveResult

Type Parameters

T