internal WWW GetWWWCache(string key) { WWW www; WwwCache.TryGetValue(key, out www); return(www); }
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(); }
internal bool InWWWCache(string assetbundlename) { return(WwwCache.ContainsKey(assetbundlename)); }
internal void SetWWWCache(string key, WWW value, bool save = false) { WwwCache.Add(key, value); }