public void RestartGame() { grid.Restart(); scoreUI.Restart(); if (SnapshotExists()) { snapshot.Restart(); } SpawnTiles(); gameOverGameObject.SetActive(false); snapshot = null; }