Beispiel #1
0
    public void NextLevel()
    {
        ShowInterstitial();
        if (GlobalData.gameMode == GlobalData.GameMode.PUZZLE_MODE)
        {
            LevelSelectController.ShowPlayDialog(GlobalData.GetCurrentLevel() + 1);
            GoToHomeScene();
        }
        else if (GlobalData.gameMode == GlobalData.GameMode.ENDLESS_MODE)
        {
            // Continue gameplay
            EndlessWinMenu.SetActive(false);

            gamePlayController.ContinuePlayEndless();
        }
    }