Merchant.DataLoadJSON
Declaration#
public virtual void DataLoadJSON(string json)Parameters#
| Name | Description |
|---|---|
| json | Name 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); }
}