update resource package

This commit is contained in:
hevinci
2023-10-11 14:36:02 +08:00
parent 1313e05d5d
commit 9476bbe562
4 changed files with 27 additions and 8 deletions
@@ -1120,7 +1120,7 @@ namespace YooAsset
[Conditional("DEBUG")]
private void DebugCheckRawFileLoadMethod(string method)
{
if (_playModeImpl.ActiveManifest.BuildPipeline != DefaultBuildPipeline.RawFileBuildPipelineName)
if (_playModeImpl.ActiveManifest.BuildPipeline != EDefaultBuildPipeline.RawFileBuildPipeline.ToString())
{
throw new Exception($"Cannot load asset bundle file using {method} method !");
}
@@ -1129,7 +1129,7 @@ namespace YooAsset
[Conditional("DEBUG")]
private void DebugCheckAssetLoadMethod(string method)
{
if (_playModeImpl.ActiveManifest.BuildPipeline == DefaultBuildPipeline.RawFileBuildPipelineName)
if (_playModeImpl.ActiveManifest.BuildPipeline == EDefaultBuildPipeline.RawFileBuildPipeline.ToString())
{
throw new Exception($"Cannot load raw file using {method} method !");
}