Beispiel #1
0
 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);
         }
     }
 }
Beispiel #2
0
 internal abstract void AddChild(AssetBundleInfo info);
Beispiel #3
0
 internal BundleTreeViewItem(AssetBundleInfo info, int depth, Texture2D iconTexture) : base(info.nameHashCode, depth, info.displayName)
 {
     assetBundleInfo = info;
     icon            = iconTexture;
     children        = new List <TreeViewItem>();
 }
Beispiel #4
0
 internal override void AddChild(AssetBundleInfo info)
 {
     m_AssetBundleInfos.Add(info.m_Name.variant, info);
 }
Beispiel #5
0
 internal override void AddChild(AssetBundleInfo info)
 {
     m_AssetBundleInfos.Add(info.displayName, info);
 }