// Use this for initialization void Start() { // make sure that first shot at beginning of game can start right away. time = 3f; AnimateAndMoveInvadersTime = 1f; GameScore = 0; Lives = 3; NextLifeAchievements = 1000; GameLevel = 1; MessageController.ScoreValue.text = GameScore.ToString(); GameState = GameStates.Playing; InvaderDict = new Dictionary <string, int> () { { "InvaderBottom", 10 }, { "InvaderMiddle", 20 }, { "InvaderTop", 30 } }; InvadersVerticalOffset = 0f; LivesController.DisplayLives(); //PlayerPrefs.DeleteKey ("High Score"); MessageController.HighScoreValue.text = PlayerPrefs.GetInt("High Score").ToString(); }