public void FinalizeAndInstall(AssetBundle[] bundles, Item[] items) { if (new Bundling.LoadedBundleMap(this.assetsMap, this.scenes) == Bundling.Map && Bundling.nextLoadEvents != null) { Bundling.OnLoadedEventHandler onLoadedEventHandler = Bundling.nextLoadEvents; Bundling.nextLoadEvents = null; try { onLoadedEventHandler(); } catch (Exception exception) { UnityEngine.Debug.LogException(exception); } } }
// Token: 0x060005FE RID: 1534 RVA: 0x0001CD5C File Offset: 0x0001AF5C public void FinalizeAndInstall(AssetBundle[] bundles, Facepunch.Load.Item[] items) { Bundling.LoadedBundleMap loadedBundleMap = new Bundling.LoadedBundleMap(this.assetsMap, this.scenes); if (loadedBundleMap == Bundling.Map && Bundling.nextLoadEvents != null) { Bundling.OnLoadedEventHandler nextLoadEvents = Bundling.nextLoadEvents; Bundling.nextLoadEvents = null; try { nextLoadEvents(); } catch (Exception ex) { Debug.LogException(ex); } } }
public void FinalizeAndInstall(AssetBundle[] bundles, Item[] items) { Bundling.LoadedBundleMap map = new Bundling.LoadedBundleMap(this.assetsMap, this.scenes); if ((map == Bundling.Map) && (Bundling.nextLoadEvents != null)) { Bundling.OnLoadedEventHandler nextLoadEvents = Bundling.nextLoadEvents; Bundling.nextLoadEvents = null; try { nextLoadEvents(); } catch (Exception exception) { UnityEngine.Debug.LogException(exception); } } }