public void makeSaveOrLoad() { if (systemInformations.isScene) { informationPanel.showInformation("回忆模式不能存档或者读档"); } else { if (systemInformations.isSaving) { theDataController.saveItem(thePlotController.TheItemNow, saveIndex); savePicture(); StartCoroutine(loadPicture()); //额外的文件处理 systemInformations.SaveTheOverPlot(); CGModeFile.saveCGFile(); SceneModeFile.saveSceneFile(); extraHFile.saveHExtra(); informationPanel.showInformation("存档"); } else { if (theDataController.loadItem(saveIndex)) { informationPanel.showInformation("读档成功"); } else { informationPanel.showInformation("读档失败"); } } } }
public void loadDate() { if (systemInformations.isScene) { informationPanel.showInformation("回忆模式下不能读档"); } else { if (theDataController.loadItem(0)) { informationPanel.showInformation("快速读档成功"); } else { informationPanel.showInformation("快速读档失败"); } } }