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