Update basic sample

pull/51/head
hevinci 2022-10-31 16:46:05 +08:00
parent cd79f0e434
commit bdc8285255
2 changed files with 1 additions and 1 deletions

View File

@ -108,6 +108,7 @@ public class BootScene : MonoBehaviour
{ {
public bool QueryStreamingAssets(string fileName) public bool QueryStreamingAssets(string fileName)
{ {
// 注意使用了BetterStreamingAssets插件使用前需要初始化该插件
string buildinFolderName = YooAssets.GetStreamingAssetBuildinFolderName(); string buildinFolderName = YooAssets.GetStreamingAssetBuildinFolderName();
return BetterStreamingAssets.FileExists($"{buildinFolderName}/{fileName}"); return BetterStreamingAssets.FileExists($"{buildinFolderName}/{fileName}");
} }

View File

@ -30,7 +30,6 @@ internal class FsmUpdateStaticVersion : IFsmNode
if (operation.Status == EOperationStatus.Succeed) if (operation.Status == EOperationStatus.Succeed)
{ {
Debug.Log($"Found static version : {operation.PackageVersion}");
PatchUpdater.PackageVersion = operation.PackageVersion; PatchUpdater.PackageVersion = operation.PackageVersion;
FsmManager.Transition(nameof(FsmUpdateManifest)); FsmManager.Transition(nameof(FsmUpdateManifest));
} }