Exemplo n.º 1
0
    public void GameStart()
    {
        currentLevelIndex = 0;
        SetCurrentLevelConfiguration();

        isGameRunning = true;

        generator.GenerateObstacles();
        score = 0;
        gameStartUI.Hide();
        player.SetActive();
    }