Example #1
0
    internal static void LoadGame(string p)
    {
        PlayerPrefs.SetString("Last_Saved", p);
        PlayerPrefs.Save();

        XMLSerie.LoadGame(_path + @"\" + p);
        Load2ndStep();
    }
Example #2
0
    internal static void LoadGameTuto()
    {
        //PlayerPrefs.SetString("Last_Saved", "");
        //PlayerPrefs.Save();

        XMLSerie.LoadGame(Application.dataPath + @"\" + "Tutorial");
        Load2ndStep();
    }
Example #3
0
    internal static void LoadGameTuto()
    {
        //PlayerPrefs.SetString("Last_Saved", "");
        //PlayerPrefs.Save();

        var a = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData) + @"\SugarMill";

        var dPath = Application.dataPath.ToString().Replace('/', '\\');

        XMLSerie.LoadGame(dPath + @"\" + "Tutorial");
        Load2ndStep();
    }