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