예제 #1
0
        public void AddOrUpdateBundle(string key, string platform, string bundleKey, long fileSize)
        {
            if (!m_BundleDictionary.TryGetValue(key, out var group))
            {
                group = new AssetBundleGroup(key);
                m_BundleDictionary[key] = group;
            }

            group.AddOrUpdateBundle(platform, bundleKey, fileSize);
        }
예제 #2
0
 public bool TryGetBundleGroup(string key, out AssetBundleGroup resource)
 {
     return(m_BundleDictionary.TryGetValue(key, out resource));
 }