示例#1
0
文件: saveButtons.cs 项目: BXZR/GAL
 public void  quickSave()
 {
     if (systemInformations.isScene == false)
     {
         theDataController.saveItem(thePlotController.TheItemNow, saveIndex);
         savePicture();
         StartCoroutine(loadPicture());
         //额外的文件处理
         systemInformations.SaveTheOverPlot();
         CGModeFile.saveCGFile();
         SceneModeFile.saveSceneFile();
         extraHFile.saveHExtra();
         informationPanel.showInformation("存档");
     }
     else
     {
         informationPanel.showInformation("回忆模式下不能快速存档");
     }
 }
示例#2
0
 public void saveData()
 {
     if (systemInformations.isScene)
     {
         informationPanel.showInformation("回忆模式下不能快速存档");
     }
     else
     {
         //事实上为了简化操作仅仅使用了一个存档,当然可以扩展,但是手机端没什么必要
         //所以为了统一处理就暂时仅仅设置呢一个存档
         theDataController.saveItem(thePlotController.TheItemNow, 0);
         informationPanel.showInformation("快速存档成功");
     }
 }