internal void CollectBundles(Model.AssetBundleInfo bundle) { if (bundle is Model.BundleDataInfo bunData) { m_Selecteditems.Add(bunData); } else { var bunFolder = bundle as Model.AssetBundleFolderInfo; foreach (var bun in bunFolder.GetChildList()) { CollectBundles(bun); } } }
internal abstract void AddChild(AssetBundleInfo info);
internal BundleTreeViewItem(AssetBundleInfo info, int depth, Texture2D iconTexture) : base(info.nameHashCode, depth, info.displayName) { assetBundleInfo = info; icon = iconTexture; children = new List <TreeViewItem>(); }
internal override void AddChild(AssetBundleInfo info) { m_AssetBundleInfos.Add(info.m_Name.variant, info); }
internal override void AddChild(AssetBundleInfo info) { m_AssetBundleInfos.Add(info.displayName, info); }