unity editor reload scene code example
Example 1: reload current scene unity
Scene scene = SceneManager.GetActiveScene();
SceneManager.LoadScene(scene.name);
Example 2: unity how to reload a scene
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);