private void Exit(int reason) { _gameLevel.Exit(); if (reason == 0) { if (_highScore < _player.Score) { HighScore = _player.Score; _highScoreText.text = String.Format("High Score: {0}", _highScore); } } _MenuOnOff(true); }
private void Exit(int reason) { _gameLevel.Exit(); if (reason == 0) { if (_highScore < _player.Score) { HighScore = _player.Score; _highScoreText.text = String.Format("High Score: {0}", _highScore); } } _MenuOnOff(true); }