mirror of https://github.com/tuyoogame/YooAsset
fix #276
parent
370329b07d
commit
a369efa429
|
@ -181,6 +181,7 @@ namespace YooAsset
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void SaveSandboxPackageVersionFile(string version)
|
public void SaveSandboxPackageVersionFile(string version)
|
||||||
{
|
{
|
||||||
|
YooLogger.Log($"Save package version : {version}");
|
||||||
string filePath = GetSandboxPackageVersionFilePath();
|
string filePath = GetSandboxPackageVersionFilePath();
|
||||||
FileUtility.WriteAllText(filePath, version);
|
FileUtility.WriteAllText(filePath, version);
|
||||||
}
|
}
|
||||||
|
|
|
@ -332,6 +332,7 @@ namespace YooAsset
|
||||||
{
|
{
|
||||||
PackageVersion = _loadBuildinManifestOp.Manifest.PackageVersion;
|
PackageVersion = _loadBuildinManifestOp.Manifest.PackageVersion;
|
||||||
_impl.ActiveManifest = _loadBuildinManifestOp.Manifest;
|
_impl.ActiveManifest = _loadBuildinManifestOp.Manifest;
|
||||||
|
_impl.FlushManifestVersionFile(); //注意:解压内置清单并加载成功后保存该清单版本。
|
||||||
_steps = ESteps.PackageCaching;
|
_steps = ESteps.PackageCaching;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -63,7 +63,6 @@ namespace YooAsset
|
||||||
TryLoadCacheManifest,
|
TryLoadCacheManifest,
|
||||||
DownloadManifest,
|
DownloadManifest,
|
||||||
LoadCacheManifest,
|
LoadCacheManifest,
|
||||||
CheckDeserializeManifest,
|
|
||||||
Done,
|
Done,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue