MyDungeon Documentation
SaveLoadLoadT Method |
Reads a JSON file containing game save data
Namespace: MyDungeon.Saving
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public virtual T Load<T>( string path )
Parameters
- path
- Type: SystemString
The path to a save file
Type Parameters
- T
- A SaveData class that inherits from MyDungeon.SaveData
Return Value
Type: TA SaveData object of type T deserialized from the JSON file located at the provided path if found else returns null
See Also