Skip to main content

InWorldContainer.DataLoadJSONFile

Declaration#

public virtual void DataLoadJSONFile(string filename)

Parameters#

NameDescription
filenameName 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(InWorldContainer target, string filename)    {        target.DataLoadJSONFile(filename);    }}