parent
a9e858bc9a
commit
7e20c39fb3
|
@ -38,7 +38,17 @@ namespace YooAsset
|
||||||
|
|
||||||
if (_steps == ESteps.None)
|
if (_steps == ESteps.None)
|
||||||
{
|
{
|
||||||
if (MainBundleInfo.LoadMode == BundleInfo.ELoadMode.LoadFromStreaming)
|
if (MainBundleInfo.LoadMode == BundleInfo.ELoadMode.LoadFromRemote)
|
||||||
|
{
|
||||||
|
_steps = ESteps.LoadFile;
|
||||||
|
_webURL = MainBundleInfo.RemoteMainURL;
|
||||||
|
}
|
||||||
|
else if (MainBundleInfo.LoadMode == BundleInfo.ELoadMode.LoadFromCache)
|
||||||
|
{
|
||||||
|
_steps = ESteps.LoadFile;
|
||||||
|
_webURL = MainBundleInfo.Bundle.CachedFilePath;
|
||||||
|
}
|
||||||
|
else if (MainBundleInfo.LoadMode == BundleInfo.ELoadMode.LoadFromStreaming)
|
||||||
{
|
{
|
||||||
_steps = ESteps.LoadFile;
|
_steps = ESteps.LoadFile;
|
||||||
_webURL = MainBundleInfo.Bundle.StreamingFilePath;
|
_webURL = MainBundleInfo.Bundle.StreamingFilePath;
|
||||||
|
|
Loading…
Reference in New Issue