コード例 #1
0
    public void saveLoadPopupPress(bool isSave)
    {
        if (isSave)
        {
            SaveLoadManager.saveData(MainGame.player, MainGame.character, selectData);
            updateSaveList();
            s_popup.notify("Save complete");
        }
        else
        {
            s_maingame.loadData(SaveLoadManager.loadData(selectData));

            s_maingame.openWindow(0);
            s_maingame.resetDisplay();
            s_popup.notify("Load complete");
        }
    }