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); }
public bool TryGetBundleGroup(string key, out AssetBundleGroup resource) { return(m_BundleDictionary.TryGetValue(key, out resource)); }