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