public void RestartGame() { if (_miner) { Destroy(_miner); } foreach (GameObject item in _lanternPieces) { if (item) { Destroy(item); } } //Reset lantern counter LanternsCollected = 0; _gameManager.Score[0] = _ghostWin; _gameManager.Score[1] = _minerWin; //Repalces objects on board StartSpawn(); _playerGhost.Refresh(); //increase rounds _currentround++; //Updates board TxtRounds.text = "Round: " + _currentround; TxtGhostWins.text = "GhostWins: " + _ghostWin; TxtMinerWins.text = "MinerWins: " + _minerWin; TxtLanternsCollected.text = "Lanterns Collected: " + LanternsCollected; }