From dad3b33f9e228ee7c958c1cb694da3095ae3b71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B5=B7?= <1464576565@qq.com> Date: Fri, 14 Mar 2025 17:33:35 +0800 Subject: [PATCH] modify --- Runtime/Core/Animation/UISizeDelta.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Runtime/Core/Animation/UISizeDelta.cs b/Runtime/Core/Animation/UISizeDelta.cs index 8355bdb..ab87327 100644 --- a/Runtime/Core/Animation/UISizeDelta.cs +++ b/Runtime/Core/Animation/UISizeDelta.cs @@ -31,6 +31,11 @@ namespace AlicizaX.AnimationFlow.Runtime target.sizeDelta = from; } + if (Condition()) + { + target.sizeDelta = to; + } + enterValue = target.sizeDelta; } @@ -58,6 +63,5 @@ namespace AlicizaX.AnimationFlow.Runtime { return target != null ? target.name : null; } - } }