Update basic sample

This commit is contained in:
hevinci
2022-10-31 16:46:05 +08:00
parent cd79f0e434
commit bdc8285255
2 changed files with 1 additions and 1 deletions
@@ -108,6 +108,7 @@ public class BootScene : MonoBehaviour
{
public bool QueryStreamingAssets(string fileName)
{
// 注意:使用了BetterStreamingAssets插件,使用前需要初始化该插件!
string buildinFolderName = YooAssets.GetStreamingAssetBuildinFolderName();
return BetterStreamingAssets.FileExists($"{buildinFolderName}/{fileName}");
}
@@ -30,7 +30,6 @@ internal class FsmUpdateStaticVersion : IFsmNode
if (operation.Status == EOperationStatus.Succeed)
{
Debug.Log($"Found static version : {operation.PackageVersion}");
PatchUpdater.PackageVersion = operation.PackageVersion;
FsmManager.Transition(nameof(FsmUpdateManifest));
}