Searches all scenes added to the SceneManager for a scene that has the given asset path.
public static Scene GetSceneByPath(string scenePath) { Scene scene; INTERNAL_CALL_GetSceneByPath(scenePath, out scene); return scene; }
public static Scene GetSceneByPath(string scenePath) { scenePath = getBuildSettingsScenePath(scenePath); return(SceneManager.GetSceneByPath(scenePath)); }