public void LoadScene(string path, LoadSceneMode mode = LoadSceneMode.Single) { if (string.IsNullOrEmpty(path)) { Debug.LogError("ResourceManager LoadScene parameter path is empty."); return; } if (loadMode == LoadMode.Original) { OriginalResourceLoader.LoadScene(path, mode); } else if (loadMode == LoadMode.AssetBundle) { bundleResourceLoader.LoadScene(path, mode); } #if UNITY_EDITOR else if (loadMode == LoadMode.Editor) { OriginalResourceLoader.LoadScene(path, mode); } #endif }