Пример #1
0
    public void LoadGame()
    {
        Progress.LoadProgress();
        Self.Load();

        SaveStamp = DateTime.FromFileTime(SavedDate);

        SceneList = new Dictionary <string, TimeStamp>();
        for (int i = 0; i < SavedSceneList.Count; ++i)
        {
            SceneList.Add(SavedSceneList[i].Scene, SavedSceneList[i]);
        }

        ScenePath = new Dictionary <string, string>();
        for (int j = 0; j < SavedPathData.Count; ++j)
        {
            ScenePath.Add(SavedPathData[j].name, SavedPathData[j].path);
        }
    }