Beispiel #1
0
    public void ResetGame()
    {
        Destroy(blocksContainer.gameObject);
        Destroy(emitterContainer.gameObject);
        score          = 0;
        startTime      = Time.time;
        scoreText.text = "0";

        Destroy(goal);

        player.ResetPlayer();

        SetupGame();
    }