From 505d23ca07d04f7412a3db28fa8d50200fe40192 Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 13 Dec 2023 09:56:36 +0800 Subject: [PATCH] update space shooter sample --- .../Runtime/PatchLogic/FsmNode/FsmInitializePackage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmInitializePackage.cs b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmInitializePackage.cs index 71e4f1c..06452f3 100644 --- a/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmInitializePackage.cs +++ b/Assets/YooAsset/Samples~/Space Shooter/GameScript/Runtime/PatchLogic/FsmNode/FsmInitializePackage.cs @@ -91,7 +91,7 @@ internal class FsmInitializePackage : IStateNode } else { - var version = package.GetPackageVersion(); + var version = initializationOperation.PackageVersion; Debug.Log($"Init resource package version : {version}"); _machine.ChangeState(); }