Пример #1
0
    public void Load(TurnManagerScript tm)
    {
        if (File.Exists(Application.persistentDataPath + "/save.dat"))
        {
            FileStream file = File.Open(Application.persistentDataPath + "/save.dat", FileMode.Open);

            tm.Load(file);

            file.Close();
        }
    }