Skip to main content

InventoryDatabase.JSONExport

Declaration#

public string JSONExport()

Description#

Export all data to json

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod()    {        string json = InventoryDatabase.instance.JSONExport();        InventoryDatabase.instance.JSONImport(json, true);    }
}