Beispiel #1
0
        public Dictionary <AssetImageConfiguration, AssetBundleImageKey> get(AssetBundle bundle)
        {
            Dictionary <AssetImageConfiguration, AssetBundleImageKey> result;
            int id = bundle == null ? 0 : bundle.GetInstanceID();

            if (this._bundleCaches.TryGetValue(id, out result))
            {
                return(result);
            }

            result = new Dictionary <AssetImageConfiguration, AssetBundleImageKey>();
            this._bundleCaches[id] = result;
            return(result);
        }