12345678910111213141516171819202122232425262728293031323334353637 |
- using System;
- using System.Collections.Generic;
- using UnityEditor;
- using UnityEngine;
- namespace GFGEditor
- {
- [CreateAssetMenu(menuName = "GFGAsset/AssetBundleCollector", fileName = "AssetBundleCollector")]
- public class AssetBundleCollector : ScriptableObject
- {
- public List<AssetBundleAssetList> assetBundleAssetLists = new List<AssetBundleAssetList>();
-
- public static AssetBundleCollector GetData()
- {
- return AssetDatabase.LoadAssetAtPath<AssetBundleCollector>($"Assets/GFGAsset/AssetBundleCollector.asset");
- }
- }
- [Serializable]
- public class AssetBundleAssetList
- {
- public string dir;
- public int status;
- public long bytes;
- public List<AssetBundleAssetListItem> list;
- }
- [Serializable]
- public class AssetBundleAssetListItem
- {
- public string key;
- public long bytes;
- public List<string> list;
- }
- }
|