private INTERNAL_CALL_GetSceneByPath ( string scenePath, |
||
scenePath | string | |
value | ||
return | void |
/// <summary> /// <para>Searches all scenes added to the SceneManager for a scene that has the given asset path.</para> /// </summary> /// <param name="scenePath">Path of the scene. Should be relative to the project folder. Like: "AssetsMyScenesMyScene.unity".</param> public static Scene GetSceneByPath(string scenePath) { Scene scene; SceneManager.INTERNAL_CALL_GetSceneByPath(scenePath, out scene); return(scene); }
public static Scene GetSceneByPath(string scenePath) { Scene result; SceneManager.INTERNAL_CALL_GetSceneByPath(scenePath, out result); return(result); }