示例#1
0
    public void ContinueGame()
    {
        //No player data available, so there is no save data
        if (SaveHandler.GetPlayerData() == null)
        {
            return;
        }

        string lastActiveSceneName = SaveHandler.GetLastActiveSceneName();

        if (lastActiveSceneName.ToLower() == "startmenu")
        {
            return;
        }

        _levelLoader.LoadNextLevel(lastActiveSceneName, false, Audio);
    }