public void StartSavedGame() { SavedFile f = (SavedFile)SaveLoadManager.LoadFile(FilePath.SavedFolder + selectedSave); FilePath.CurrentSaveFilePath = FilePath.SavedFolder + selectedSave; Globals.campaign = f.campaign; f.SwitchScene(); }
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(); } }