Example #1
0
        internal LOAssetBundle GetBundleCache(string key)
        {
            LOAssetBundle ab;

            BundleCache.TryGetValue(key, out ab);

            return(ab);
        }
Example #2
0
        internal void UnloadAssetBundleInternal(string assetBundleName)
        {
            LOAssetBundle bundle;

            BundleCache.TryGetValue(assetBundleName, out bundle);

            if (bundle == null)
            {
                return;
            }

            if (bundle.Release(true))
            {
                FreeBundle(assetBundleName);
            }
        }