public void ClickedContinueButton() { //Update the lifetime score by the current score and then hop over to the next level. int score = scoreBar.GetScore(); PlayerPrefs.SetInt("MONEY", PlayerPrefs.GetInt("MONEY") + score); myOutputManager.WriteOutput(myNodeManager.GetTree()); Application.LoadLevel(1); }