mirror of https://github.com/tuyoogame/YooAsset
fix #508
parent
a62f808591
commit
d376afc217
|
@ -23,7 +23,10 @@ namespace YooAsset
|
|||
{
|
||||
if (_assetBundle != null)
|
||||
{
|
||||
_assetBundle.TTUnload(true);
|
||||
if (_packageBundle.Encrypted)
|
||||
_assetBundle.Unload(true);
|
||||
else
|
||||
_assetBundle.TTUnload(true);
|
||||
}
|
||||
}
|
||||
public override string GetBundleFilePath()
|
||||
|
|
|
@ -23,7 +23,10 @@ namespace YooAsset
|
|||
{
|
||||
if (_assetBundle != null)
|
||||
{
|
||||
_assetBundle.WXUnload(true);
|
||||
if (_packageBundle.Encrypted)
|
||||
_assetBundle.Unload(true);
|
||||
else
|
||||
_assetBundle.WXUnload(true);
|
||||
}
|
||||
}
|
||||
public override string GetBundleFilePath()
|
||||
|
|
Loading…
Reference in New Issue