Update samples
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ public class FsmUpdateManifest : IFsmNode
|
||||
yield return new WaitForSecondsRealtime(0.5f);
|
||||
|
||||
// 更新补丁清单
|
||||
var operation = YooAssets.UpdateManifestAsync("DefaultPackage", PatchUpdater.PackageCRC, 30);
|
||||
var operation = YooAssets.UpdateManifestAsync(PatchUpdater.PackageCRC, 30);
|
||||
yield return operation;
|
||||
|
||||
if(operation.Status == EOperationStatus.Succeed)
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ internal class FsmUpdateStaticVersion : IFsmNode
|
||||
yield return new WaitForSecondsRealtime(0.5f);
|
||||
|
||||
// 更新资源版本号
|
||||
var operation = YooAssets.UpdateStaticVersionAsync("DefaultPackage", 30);
|
||||
var operation = YooAssets.UpdateStaticVersionAsync(30);
|
||||
yield return operation;
|
||||
|
||||
if (operation.Status == EOperationStatus.Succeed)
|
||||
|
||||
Reference in New Issue
Block a user