Update AssetSystem

pull/4/head
hevinci 2022-03-23 23:07:21 +08:00
parent 50492821f1
commit 2bbc70896a
3 changed files with 3 additions and 3 deletions

View File

@ -273,7 +273,7 @@ namespace YooAsset
DebugProviderInfo providerInfo = new DebugProviderInfo(); DebugProviderInfo providerInfo = new DebugProviderInfo();
providerInfo.AssetPath = provider.AssetPath; providerInfo.AssetPath = provider.AssetPath;
providerInfo.RefCount = provider.RefCount; providerInfo.RefCount = provider.RefCount;
providerInfo.Status = (int)provider.Status; providerInfo.Status = provider.Status;
providerInfo.BundleInfos.Clear(); providerInfo.BundleInfos.Clear();
report.ProviderInfos.Add(providerInfo); report.ProviderInfos.Add(providerInfo);

View File

@ -74,7 +74,7 @@ namespace YooAsset
bundleInfo.BundleName = loader.BundleFileInfo.BundleName; bundleInfo.BundleName = loader.BundleFileInfo.BundleName;
bundleInfo.Version = loader.BundleFileInfo.Version; bundleInfo.Version = loader.BundleFileInfo.Version;
bundleInfo.RefCount = loader.RefCount; bundleInfo.RefCount = loader.RefCount;
bundleInfo.Status = (int)loader.Status; bundleInfo.Status = loader.Status;
output.Add(bundleInfo); output.Add(bundleInfo);
} }
} }

View File

@ -42,7 +42,7 @@ namespace YooAsset
bundleInfo.BundleName = OwnerBundle.BundleFileInfo.BundleName; bundleInfo.BundleName = OwnerBundle.BundleFileInfo.BundleName;
bundleInfo.Version = OwnerBundle.BundleFileInfo.Version; bundleInfo.Version = OwnerBundle.BundleFileInfo.Version;
bundleInfo.RefCount = OwnerBundle.RefCount; bundleInfo.RefCount = OwnerBundle.RefCount;
bundleInfo.Status = (int)OwnerBundle.Status; bundleInfo.Status = OwnerBundle.Status;
output.Add(bundleInfo); output.Add(bundleInfo);
DependBundles.GetBundleDebugInfos(output); DependBundles.GetBundleDebugInfos(output);