unity editor get current scene code example
Example: reload current scene unity
Scene scene = SceneManager.GetActiveScene();
SceneManager.LoadScene(scene.name);
Scene scene = SceneManager.GetActiveScene();
SceneManager.LoadScene(scene.name);