Example #1
0
    public void ResetGame()
    {
        //print("hard reset");
        GameObject currLevel = GameObject.FindGameObjectWithTag("level");

        if (currLevel != null)
        {
            ui.SaveHighScore();
            Destroy(currLevel);
            score = 0;
        }

        lives = 2;
        ui.ResetLives();
        Begin();

        ui.ClearScore();

        StartCoroutine(StartSeq());
    }