GetScenePath() public method

public GetScenePath ( string bundleName, string sceneName ) : string
bundleName string
sceneName string
return string
        public static void LoadScene(string bundleName, string sceneName, LoadSceneMode mode)
        {
#if UNITY_EDITOR
            if (!Application.isPlaying)
            {
                throw new System.Exception("This function does not support non-playing mode!");
            }
            if (UseAssetDatabase)
            {
                EnsureAssetDatabase();
                var scenePath = s_EditorAssetMap.GetScenePath(bundleName, sceneName);
                if (string.IsNullOrEmpty(scenePath))
                {
                    return;                                 // scene does not exist
                }
                UnityEditor.SceneManagement.EditorSceneManager.LoadSceneInPlayMode(scenePath, new LoadSceneParameters(mode));
                return;
            }
#endif
            if (!Initialized)
            {
                throw new System.Exception("BundleManager not initialized, try initialize first!");
            }
            SceneManager.LoadScene(Path.GetFileName(sceneName), mode);
        }