Inventory.DataLoadJSONFile
#
Declarationpublic virtual void DataLoadJSONFile(string filename)
#
ParametersName | Description |
---|---|
filename | Name of file to load. Application.persistentDataPath is automatically prepended. |
#
DescriptionLoads JSON data from a specified file
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(Inventory target, string filename) { target.DataLoadJSONFile(filename); }}