Beispiel #1
0
        public void Run()
        {
            string _s = SETTINGS.saveFileName;

            // switch(SETTINGS.saveFileName)
            // {
            //  case "file0.steameng":
            //      _s = "file0.steameng";
            //      break;
            //  case "file1.steameng":
            //      _s = "file1.steameng";
            //      break;
            //  case "file2.steameng":
            //      _s = "file2.steameng";
            //      break;
            // }

            // Appears we need both, one for settings, one for scripatable objects
            saveSystem.Save(saveslot: SETTINGS.saveSlot);
            SAVELOAD.Save(_s);
            Debug.Log(_s);
        }
Beispiel #2
0
 public void OnClick()
 {
     SAVE.Save();
 }