示例#1
0
        internal WWW GetWWWCache(string key)
        {
            WWW www;

            WwwCache.TryGetValue(key, out www);
            return(www);
        }
示例#2
0
 internal void FreeAll()
 {
     com.QH.QPGame.GameUtils.Logger.Res.Log("FreeAll~~~~~~~~~~~");
     foreach (var loAssetBundle in BundleCache)
     {
         loAssetBundle.Value.Bundle.Unload(true);
     }
     BundleCache.Clear();
     ErrorCache.Clear();
     DependCache.Clear();
     WwwCache.Clear();
 }
示例#3
0
 internal bool InWWWCache(string assetbundlename)
 {
     return(WwwCache.ContainsKey(assetbundlename));
 }
示例#4
0
 internal void SetWWWCache(string key, WWW value, bool save = false)
 {
     WwwCache.Add(key, value);
 }