public void GameOver() { // Checks if stats from last session are records and updates UI elements accordingly RecordCheck(); // Enables the panel that displays stats and a restart button uiUpdater.EnableCanvas(); }