示例#1
0
    public void StartSavedGame()
    {
        SavedFile f = (SavedFile)SaveLoadManager.LoadFile(FilePath.SavedFolder + selectedSave);



        FilePath.CurrentSaveFilePath = FilePath.SavedFolder + selectedSave;



        Globals.campaign = f.campaign;

        f.SwitchScene();
    }
示例#2
0
    public void Collect()
    {
        SavedFile stat = (SavedFile)(SaveLoadManager.LoadFile(FilePath.CurrentSaveFilePath));

        if (currMission.end_cutscenekey != "")
        {
            Globals.cutsceneData = new CutsceneData(Globals.campaign.GetCutsceneCopy(currMission.end_cutscenekey), stat, true);
            CustomeSceneLoader.LoadCutsceneScene();
        }
        else
        {
            stat.SwitchScene();
        }
    }