public static GetSceneByPath ( string scenePath ) : |
||
scenePath | string | Path of the scene. Should be relative to the project folder. Like: "AssetsMyScenesMyScene.unity". |
return |
Searches all scenes added to the SceneManager for a scene that has the given asset path.
public static GetSceneByPath ( string scenePath ) : |
||
scenePath | string | Path of the scene. Should be relative to the project folder. Like: "AssetsMyScenesMyScene.unity". |
return |