コード例 #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));
 }