From 2bbc70896a8d73cfe7e6da092d6fe293ed71278d Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 23 Mar 2022 23:07:21 +0800 Subject: [PATCH] Update AssetSystem --- Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs | 2 +- .../Runtime/AssetSystem/Loader/DependAssetBundleGrouper.cs | 2 +- Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs index 4fc688e..f46dbcd 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/AssetSystem.cs @@ -273,7 +273,7 @@ namespace YooAsset DebugProviderInfo providerInfo = new DebugProviderInfo(); providerInfo.AssetPath = provider.AssetPath; providerInfo.RefCount = provider.RefCount; - providerInfo.Status = (int)provider.Status; + providerInfo.Status = provider.Status; providerInfo.BundleInfos.Clear(); report.ProviderInfos.Add(providerInfo); diff --git a/Assets/YooAsset/Runtime/AssetSystem/Loader/DependAssetBundleGrouper.cs b/Assets/YooAsset/Runtime/AssetSystem/Loader/DependAssetBundleGrouper.cs index 46c3b0c..b704834 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/Loader/DependAssetBundleGrouper.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/Loader/DependAssetBundleGrouper.cs @@ -74,7 +74,7 @@ namespace YooAsset bundleInfo.BundleName = loader.BundleFileInfo.BundleName; bundleInfo.Version = loader.BundleFileInfo.Version; bundleInfo.RefCount = loader.RefCount; - bundleInfo.Status = (int)loader.Status; + bundleInfo.Status = loader.Status; output.Add(bundleInfo); } } diff --git a/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs b/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs index bc77fb1..59bb8bf 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/Provider/BundledProvider.cs @@ -42,7 +42,7 @@ namespace YooAsset bundleInfo.BundleName = OwnerBundle.BundleFileInfo.BundleName; bundleInfo.Version = OwnerBundle.BundleFileInfo.Version; bundleInfo.RefCount = OwnerBundle.RefCount; - bundleInfo.Status = (int)OwnerBundle.Status; + bundleInfo.Status = OwnerBundle.Status; output.Add(bundleInfo); DependBundles.GetBundleDebugInfos(output);