Esempio n. 1
0
 private void SaveDQ(string filename)
 {
     if (NarrativeData.Get() != null && !string.IsNullOrEmpty(filename))
     {
         NarrativeData.Save(filename, NarrativeData.Get());
     }
 }
Esempio n. 2
0
        private static void LoadDQ()
        {
            PlayerData pdata = PlayerData.Get();

            if (pdata != null)
            {
                NarrativeData.AutoLoad(pdata.filename);
            }
        }
Esempio n. 3
0
        private static void NewDQ()
        {
            PlayerData pdata = PlayerData.Get();

            if (pdata != null)
            {
                NarrativeData.Unload();
                NarrativeData.NewGame(pdata.filename);
            }
        }
Esempio n. 4
0
 //Dont this one call during awake (before NarrativeManager.Get() wont work)
 private static void ReloadDQ()
 {
     NarrativeData.Unload();
     LoadDQ();
 }