public void RestartGame() { //restart from level 1 LifeTracker.setLives(3); PlayerPrefs.SetInt("score", 0); ScoreTracker.setScore(0); SceneManager.LoadScene("Level 1"); }
public void NewGame() { LifeTracker.setLives(3); PlayerPrefs.SetInt("score", 0); SceneManager.LoadScene(startLevel); }
public void FinalBoss() { LifeTracker.setLives(3); PlayerPrefs.SetInt("score", 0); SceneManager.LoadScene(bossLevel); }
public void Level2() { LifeTracker.setLives(3); PlayerPrefs.SetInt("score", 0); SceneManager.LoadScene(level2); }