update diagnostic system

优化了Debugger窗口的显示页面
This commit is contained in:
何冠峰
2025-02-22 14:14:05 +08:00
parent 82c57c382f
commit f6244885be
13 changed files with 282 additions and 79 deletions

View File

@@ -286,7 +286,7 @@ namespace YooAsset
return status;
}
#region
#region
/// <summary>
/// 出生的场景
/// </summary>
@@ -341,16 +341,15 @@ namespace YooAsset
/// <summary>
/// 获取资源包的调试信息列表
/// </summary>
internal void GetBundleDebugInfos(List<DebugBundleInfo> output)
internal List<string> GetDebugDependBundles()
{
List<string> result = new List<string>(_bundleLoaders.Count);
foreach (var bundleLoader in _bundleLoaders)
{
var bundleInfo = new DebugBundleInfo();
bundleInfo.BundleName = bundleLoader.LoadBundleInfo.Bundle.BundleName;
bundleInfo.RefCount = bundleLoader.RefCount;
bundleInfo.Status = bundleLoader.Status;
output.Add(bundleInfo);
var packageBundle = bundleLoader.LoadBundleInfo.Bundle;
result.Add(packageBundle.BundleName);
}
return result;
}
#endregion
}