How to load the current Unity scene? Tried so
SceneManager.LoadScene(SceneManager.GetActiveScene);
Writes that the group method cannot convert to a string.
In older versions, it seemed to be possible
Application.LoadScene(EditorApplication.currentScene);
But this is outdated code. How can I restart the scene from the beginning or just get its number?