예제 #1
0
        public void SaveData()
        {
            string json = JsonUtility.ToJson(this);

            SaveUtility.SaveInProject(json, NodeConsts.FullResourcesFolder + "/" + NodeConsts.CLASS_DATA_FILE);
            idHandler.OnSaveFile();
            AssetDatabase.Refresh();
        }
예제 #2
0
        public void Save()
        {
            var json = JsonUtility.ToJson(this);

            SaveUtility.SaveInProject(json, NodeConsts.FullResourcesFolder + "/" + NodeConsts.USECASE_DATA_FILE);
            IdHandler.GetInstance().OnSaveFile();
            AssetDatabase.Refresh();
        }
예제 #3
0
        public void OnSaveFile()
        {
            string json = JsonUtility.ToJson(this);

            SaveUtility.SaveInProject(json, NodeConsts.FullResourcesFolder + "/" + NodeConsts.ID_HANDLER);
        }