Exemplo n.º 1
0
    IEnumerator LoadGameC()
    {
        var gameSave = SaveFiles.LoadGameFromName(SaveFileName);

        if (gameSave != null)
        {
            yield return(StartCoroutine(Game.LoadGame(gameSave)));
        }
        else
        {
            Debug.Log($"Unable to find save: ${SaveFileName}");
        }
    }