public static void Save() { if (rootNode == null) { Debug.Log("can not Save, please set a root node."); return; } PyConfigGenWorker genWorker = new PyConfigGenWorker(); genWorker.Export(rootNode, "gacha"); }
public static void Load(string jsonPath = "") { PyConfigGenWorker genWorker = new PyConfigGenWorker(); genWorker.Import("gacha"); }