diff --git a/.gitignore b/.gitignore index bd1e002..da5069c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,23 @@ /[Ll]ogs/ /[Mm]emoryCaptures/ + + +/Bundles/ +/ProjectSettings/ +/App/ +/yoo/ +/Assets/StreamingAssets +/Assets/StreamingAssets.meta +/Assets/Samples +/Assets/Samples.meta +/Packages +/UserSettings + + + # Asset meta data should only be ignored when the corresponding asset is also ignored -!/[Aa]ssets/**/*.meta + # Uncomment this line if you wish to ignore the asset store tools plugin # /[Aa]ssets/AssetStoreTools* diff --git a/Assets/YooAsset/Editor/AssetBundleReporter/VisualViewers/ReporterBundleListViewer.cs b/Assets/YooAsset/Editor/AssetBundleReporter/VisualViewers/ReporterBundleListViewer.cs index 18ddfcc..2e19255 100644 --- a/Assets/YooAsset/Editor/AssetBundleReporter/VisualViewers/ReporterBundleListViewer.cs +++ b/Assets/YooAsset/Editor/AssetBundleReporter/VisualViewers/ReporterBundleListViewer.cs @@ -349,10 +349,24 @@ namespace YooAsset.Editor private void FillIncludeListView(ReportBundleInfo bundleInfo) { List containsList = new List(); + Dictionary tempAssetDict = new Dictionary(); foreach (var assetInfo in _buildReport.AssetInfos) { if (assetInfo.MainBundleName == bundleInfo.BundleName) + { + tempAssetDict.Add(assetInfo.AssetPath, 1); containsList.Add(assetInfo); + } + } + foreach (string includeInAsset in bundleInfo.AllBuiltinAssets) + { + if (!tempAssetDict.ContainsKey(includeInAsset)) + { + var assetInfo = new ReportAssetInfo(); + assetInfo.AssetPath = includeInAsset; + assetInfo.AssetGUID = "--"; + containsList.Add(assetInfo); + } } _includeListView.Clear(); @@ -376,6 +390,16 @@ namespace YooAsset.Editor element.Add(label); } + { + var label = new Label(); + label.name = "Label3"; + label.style.unityTextAlign = TextAnchor.MiddleLeft; + label.style.marginLeft = 3f; + //label.style.flexGrow = 1f; + label.style.width = 200; + element.Add(label); + } + { var label = new Label(); label.name = "Label2"; @@ -397,6 +421,10 @@ namespace YooAsset.Editor var label1 = element.Q