parent
8893317f59
commit
1c2bbfea93
|
@ -350,7 +350,10 @@ namespace YooAsset
|
||||||
return loader;
|
return loader;
|
||||||
|
|
||||||
// 新增下载需求
|
// 新增下载需求
|
||||||
#if UNITY_WEBGL
|
#if !UNITY_WEBGL
|
||||||
|
if (bundleInfo.Bundle.IsRawFile)
|
||||||
|
loader = new RawBundleFileLoader(this, bundleInfo);
|
||||||
|
else
|
||||||
loader = new AssetBundleWebLoader(this, bundleInfo);
|
loader = new AssetBundleWebLoader(this, bundleInfo);
|
||||||
#else
|
#else
|
||||||
if (bundleInfo.Bundle.IsRawFile)
|
if (bundleInfo.Bundle.IsRawFile)
|
||||||
|
|
Loading…
Reference in New Issue