public Object[] GetMultiResources(string sceneName, string bundleName, string resName) { if (loadManager.ContainsKey(sceneName)) { IABSceneManager tmpManager = loadManager[sceneName]; return(tmpManager.GetMultiResources(bundleName, resName)); } else { Debug.Log("sceneName ==" + sceneName + "bundleName ==" + bundleName + "is not load"); return(null); } }
/// <summary> /// 加载多个资源 /// </summary> /// <param name="sceneName">SceneOne</param> /// <param name="bundleName">Load</param> /// <param name="resName">TestTwo</param> /// <returns></returns> public UnityEngine.Object[] GetMultiResources(string sceneName, string bundleName, string resName) { if (sceneManagers.ContainsKey(sceneName)) { IABSceneManager sceneMgr = sceneManagers[sceneName]; return(sceneMgr.GetMultiResources(bundleName, resName)); } else { Debug.Log("sceneName = " + sceneName + " BundleName = " + bundleName + " is not load!"); return(null); } }