예제 #1
0
    public void LoadGameData(Model_SaveData data)
    {
        game.LoadRun(data.gameData.runIdx, data.gameData.cycleCount);
        game.level          = data.gameData.level;
        game.totalPlayTime  = data.gameData.totalPlayTime;
        game.ActiveEnding   = data.gameData.activeEnding;
        game.faceOffCounter = data.gameData.faceOffCounter;

        Debug.Log($"---- LOADED {data.gameData} ----");
        Debug.Log($"runIdx:             {data.gameData.runIdx}");
        Debug.Log($"level:              {data.gameData.level}");
        Debug.Log($"totalPlayTime:      {data.gameData.totalPlayTime}");
        Debug.Log($"activeEnding:       {data.gameData.activeEnding}");
    }