Update PatchSystem

This commit is contained in:
hevinci
2022-03-25 15:02:21 +08:00
parent f9ac8ab51b
commit bcd53cf834
4 changed files with 82 additions and 63 deletions
+3 -3
View File
@@ -538,9 +538,9 @@ namespace YooAsset
}
else if (_playMode == EPlayMode.OfflinePlayMode)
{
List<BundleInfo> downloadList = new List<BundleInfo>();
var operation = new DownloaderOperation(downloadList, unpackingMaxNumber, failedTryAgain);
return operation;
if (_offlinePlayModeImpl == null)
throw new Exception("YooAsset is not initialized.");
return _offlinePlayModeImpl.CreateUnpackerByTags(tags, unpackingMaxNumber, failedTryAgain);
}
else if (_playMode == EPlayMode.HostPlayMode)
{