Update YooAsset

This commit is contained in:
hevinci
2022-03-16 11:02:46 +08:00
parent 7ded7eb2ff
commit 8597b97779
4 changed files with 13 additions and 13 deletions
@@ -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
}