mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-25 02:00:16 +00:00
Update YooAssets.cs
This commit is contained in:
@@ -522,8 +522,9 @@ namespace YooAsset
|
|||||||
return operation;
|
return operation;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
|
||||||
BundleInfo bundleInfo = _bundleServices.GetBundleInfo(assetInfo);
|
BundleInfo bundleInfo = _bundleServices.GetBundleInfo(assetInfo);
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
if (bundleInfo.Bundle.IsRawFile == false)
|
if (bundleInfo.Bundle.IsRawFile == false)
|
||||||
{
|
{
|
||||||
string error = $"Cannot load asset bundle file using {nameof(GetRawFileAsync)} method !";
|
string error = $"Cannot load asset bundle file using {nameof(GetRawFileAsync)} method !";
|
||||||
|
|||||||
Reference in New Issue
Block a user