예제 #1
0
 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);
     }
 }
예제 #2
0
    /// <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);
        }
    }