Esempio n. 1
0
 /// <summary>
 /// 正在加载的AB包是否加载完了
 /// </summary>
 /// <param name="sceneName"></param>
 /// <param name="bundleName"></param>
 /// <returns></returns>
 public bool IsLoadingBundleFinish(string sceneName, string bundleName)
 {
     if (mABManagerDict.ContainsKey(sceneName))
     {
         IABSceneManager sceneManager = mABManagerDict[sceneName];
         return(sceneManager.IsLoadingFinish(bundleName));
     }
     return(false);
 }
Esempio n. 2
0
    public bool IsLoadingBundleFinish(string sceneName, string bundleName)
    {
        if (sceneManagers.ContainsKey(sceneName))
        {
            IABSceneManager tmpManager = sceneManagers[sceneName];

            return(tmpManager.IsLoadingFinish(bundleName));
        }

        return(false);
    }
    public bool IsLoadBundleFinish(string sceneName, string bundle)
    {
        bool tmpBool = loadManager.ContainsKey(sceneName);

        if (tmpBool)
        {
            IABSceneManager tmpManager = loadManager[sceneName];
            return(tmpManager.IsLoadingFinish(bundle));
        }
        return(false);
    }