Update runtime code

UpdateStaticVersionOperation.PackageCRC重名为PackageVersion。
AssetPackage.GetHumanReadableVersion()重名为GetPackageVersion()
This commit is contained in:
hevinci
2022-10-26 21:02:25 +08:00
parent 18426d0481
commit cc04efe76b
12 changed files with 143 additions and 117 deletions
@@ -21,13 +21,13 @@ namespace YooAsset
}
/// <summary>
/// 获取人类可读的版本信息
/// 获取包裹的版本信息
/// </summary>
public string GetHumanReadableVersion()
public string GetPackageVersion()
{
if (_simulatePatchManifest == null)
return string.Empty;
return _simulatePatchManifest.HumanReadableVersion;
return _simulatePatchManifest.PackageVersion;
}
internal void SetSimulatePatchManifest(PatchManifest patchManifest)