diff --git a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs index 98895b9..ebb41dc 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs @@ -296,11 +296,11 @@ namespace YooAsset } #region 调试专属方法 - internal static void GetDebugSummy(DebugSummy summy) + internal static void GetDebugReport(DebugReport report) { - summy.ClearAll(); - summy.BundleCount = _loaders.Count; - summy.AssetCount = _providers.Count; + report.ClearAll(); + report.BundleCount = _loaders.Count; + report.AssetCount = _providers.Count; foreach (var provider in _providers) { @@ -309,7 +309,7 @@ namespace YooAsset providerInfo.RefCount = provider.RefCount; providerInfo.Status = (int)provider.Status; providerInfo.BundleInfos.Clear(); - summy.ProviderInfos.Add(providerInfo); + report.ProviderInfos.Add(providerInfo); if (provider is BundledProvider) { @@ -319,7 +319,7 @@ namespace YooAsset } // 重新排序 - summy.ProviderInfos.Sort(); + report.ProviderInfos.Sort(); } #endregion } diff --git a/Assets/YooAsset/Runtime/Debugger/DebugSummy.cs b/Assets/YooAsset/Runtime/Debugger/DebugReport.cs similarity index 85% rename from Assets/YooAsset/Runtime/Debugger/DebugSummy.cs rename to Assets/YooAsset/Runtime/Debugger/DebugReport.cs index 4cd14dc..eac201b 100644 --- a/Assets/YooAsset/Runtime/Debugger/DebugSummy.cs +++ b/Assets/YooAsset/Runtime/Debugger/DebugReport.cs @@ -5,9 +5,9 @@ using System.Collections.Generic; namespace YooAsset { /// - /// 资源系统调试信息汇总 + /// 资源系统调试信息 /// - internal class DebugSummy + internal class DebugReport { public readonly List ProviderInfos = new List(1000); public int BundleCount { set; get; } diff --git a/Assets/YooAsset/Runtime/Debugger/DebugSummy.cs.meta b/Assets/YooAsset/Runtime/Debugger/DebugReport.cs.meta similarity index 100% rename from Assets/YooAsset/Runtime/Debugger/DebugSummy.cs.meta rename to Assets/YooAsset/Runtime/Debugger/DebugReport.cs.meta diff --git a/Assets/YooAsset/Runtime/YooAssets.cs b/Assets/YooAsset/Runtime/YooAssets.cs index ddbcb94..44b340d 100644 --- a/Assets/YooAsset/Runtime/YooAssets.cs +++ b/Assets/YooAsset/Runtime/YooAssets.cs @@ -278,14 +278,14 @@ namespace YooAsset } /// - /// 获取调试汇总信息 + /// 获取调试信息 /// - internal static void GetDebugSummy(DebugSummy summy) + internal static void GetDebugReport(DebugReport report) { - if (summy == null) - YooLogger.Error($"{nameof(DebugSummy)} is null"); + if (report == null) + YooLogger.Error($"{nameof(DebugReport)} is null"); - AssetSystem.GetDebugSummy(summy); + AssetSystem.GetDebugReport(report); }