// Token: 0x06000011 RID: 17 RVA: 0x00002644 File Offset: 0x00000844
 public void Destroy()
 {
     this.SelectionChange = null;
     if (this._listbox != null)
     {
         this._listbox.SavePrefs();
         AssetBundleManifestUI.Listbox listbox = this._listbox;
         listbox.SelectionChange = (Action <GUIListView>)Delegate.Remove(listbox.SelectionChange, new Action <GUIListView>(this.OnListboxSelectionChanged));
         this._listbox           = null;
     }
     if (this._dependencyListbox != null)
     {
         this._dependencyListbox.SavePrefs();
         AssetBundleManifestUI.DependencyListbox dependencyListbox = this._dependencyListbox;
         dependencyListbox.ItemDoubleClick = (Action <GUIListView, GUIListViewItemDoubleClickArgs>)Delegate.Remove(dependencyListbox.ItemDoubleClick, new Action <GUIListView, GUIListViewItemDoubleClickArgs>(this.OnDoubleClickDependency));
         this._dependencyListbox           = null;
     }
 }
 // Token: 0x06000010 RID: 16 RVA: 0x000024BC File Offset: 0x000006BC
 public void Init(EditorWindow owner)
 {
     this._owner = owner;
     this._menu  = new GUIToolbar(owner, null);
     this._menu.AddButton("Open...", "Locate *.manifest directory", null, new GUIControlExecuteDelegate(this.OnClickedOpen));
     this._menu.AddButton("", "Refresh list. Loads *.manifest files from recently selected directory.", Images.Refresh16x16, new GUIControlExecuteDelegate(this.OnClickRefresh), new GUIControlQueryStatusDelegate(this.OnQueryRefresh));
     this._menu.AddSpace(8f);
     this._menu.AddFlexibleSpace();
     this._searchfield             = this._menu.AddSearchField("", null, new GUIControlExecuteDelegate(this.OnSearchChange), null);
     this._listbox                 = new AssetBundleManifestUI.Listbox(owner, null);
     this._listbox.EditorPrefsPath = string.Format("{0}.BundleListbox", this.EditorPrefsPath);
     AssetBundleManifestUI.Listbox listbox = this._listbox;
     listbox.SelectionChange = (Action <GUIListView>)Delegate.Combine(listbox.SelectionChange, new Action <GUIListView>(this.OnListboxSelectionChanged));
     this._listbox.LoadPrefs();
     this._dependencyListbox = new AssetBundleManifestUI.DependencyListbox(owner, null);
     this._dependencyListbox.EditorPrefsPath = string.Format("{0}.DependencyListbox", this.EditorPrefsPath);
     this._dependencyListbox.LoadPrefs();
     AssetBundleManifestUI.DependencyListbox dependencyListbox = this._dependencyListbox;
     dependencyListbox.ItemDoubleClick = (Action <GUIListView, GUIListViewItemDoubleClickArgs>)Delegate.Combine(dependencyListbox.ItemDoubleClick, new Action <GUIListView, GUIListViewItemDoubleClickArgs>(this.OnDoubleClickDependency));
     if (!string.IsNullOrEmpty(this.Directory))
     {
         this.LoadFiles(this.Directory);
     }
 }