how to restart current scene in unity code example
Example: reload current scene unity
Scene scene = SceneManager.GetActiveScene();
SceneManager.LoadScene(scene.name);
Scene scene = SceneManager.GetActiveScene();
SceneManager.LoadScene(scene.name);