Ejemplo n.º 1
0
    public IEnumerator LoadGame()
    {
        //GetComponent.makeSelectionText.text
        //LoadScene
        loadAssets.LoadScene(currentIndex["table"], currentIndex["variant"], currentIndex["paddle"]);

        while (loadAssets.HasFinishedLoading() != true)
        {
            yield return(null);
        }

        StartCoroutine(loadAssets.BeginPlaying());
    }