refactor : 重构代码

This commit is contained in:
何冠峰
2026-01-17 18:44:48 +08:00
parent e10888de93
commit 0a1c81faf1
75 changed files with 219 additions and 197 deletions
@@ -407,7 +407,7 @@ namespace YooAsset
{
if (BundleDecryptionServices == null)
{
YooLogger.Error($"The {nameof(IBundleDecryptionServices)} is null !");
YooLogger.Error($"The {nameof(IBundleDecryptionServices)} is null.");
return null;
}
@@ -435,7 +435,7 @@ namespace YooAsset
{
if (BundleDecryptionServices == null)
{
YooLogger.Error($"The {nameof(IBundleDecryptionServices)} is null !");
YooLogger.Error($"The {nameof(IBundleDecryptionServices)} is null.");
return null;
}
@@ -552,7 +552,7 @@ namespace YooAsset
}
catch (Exception ex)
{
YooLogger.Error($"Failed to write cache file ! {ex.Message}");
YooLogger.Error($"Failed to write cache file. Error: {ex.Message}");
return false;
}