update runtime code

pull/134/head
hevinci 2023-07-19 17:48:26 +08:00
parent aee6e2d2f8
commit e8a4ddf331
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ namespace YooAsset
_steps = ESteps.CheckFile;
FileLoadPath = MainBundleInfo.Bundle.CachedDataFilePath;
}
else if (MainBundleInfo.LoadMode == BundleInfo.ELoadMode.LoadFromDelivery)
{
_steps = ESteps.CheckFile;
FileLoadPath = MainBundleInfo.DeliveryFilePath;
}
else
{
throw new System.NotImplementedException(MainBundleInfo.LoadMode.ToString());