private void Next() { StateController.ArchiveHighScoreAs(_name); var highScorePanel = Instantiate(_highScorePrefab, transform.parent); highScorePanel.IsEndOfGame = true; Destroy(gameObject); }