mirror of https://github.com/tuyoogame/YooAsset
fix #452
parent
0b5d16bd0e
commit
38471cdd6c
|
@ -201,7 +201,14 @@ namespace YooAsset
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
#if UNITY_ANDROID
|
#if UNITY_ANDROID
|
||||||
return bundle.BundleType == (int)EBuildBundleType.RawBundle || bundle.Encrypted;
|
if (bundle.BundleType == (int)EBuildBundleType.RawBundle || bundle.Encrypted)
|
||||||
|
{
|
||||||
|
return _unpackFileSystem.Exists(bundle) == false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue