Skip to main content

NPCStats.DataLoadJSONFile

Declaration#

public virtual void DataLoadJSONFile(string filename)

Parameters#

NameDescription
filenameName of file to use

Description#

Load JSON data from file

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(NPCStats source)    {        if (!source.busy)        {            source.DataLoadJSONFile("test.json");        }    }
}