internal override void Load() { bundle = Bundles.Load(assetBundleName); var assetName = Path.GetFileName(url); asset = bundle.assetBundle.LoadAsset(assetName, assetType); }
internal override void Load() { if (!string.IsNullOrEmpty(assetBundleName)) { bundle = Bundles.Load(assetBundleName); if (bundle != null) { SceneManager.LoadScene(sceneName, loadSceneMode); } } else { SceneManager.LoadScene(sceneName, loadSceneMode); } }