refactor : 重构代码
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user