Skip to main content

Merchant.DataLoadJSON

Declaration#

public virtual void DataLoadJSON(string json)

Parameters#

NameDescription
jsonName of file to load. Application.persistentDataPath is automatically prepended.

Description#

Loads JSON data from a JSON string

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
    public void Example(Merchant target, string json)    {        target.DataLoadJSON(json);    }
}