From d653994dedc5f7848472283106c5811f4a47d036 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 21 Feb 2026 08:53:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BF=AE=E5=A4=8DUI=E8=BF=87?= =?UTF-8?q?=E6=B8=A1=E6=B5=81=E6=B0=B4=E7=BA=BF=E4=B8=AD=E7=9A=84=E7=A9=BA?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加空值检查避免FromUiKey为null时的日志记录错误 - 确保流水线执行时参数安全处理 --- GFramework.Game/ui/UiTransitionPipeline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GFramework.Game/ui/UiTransitionPipeline.cs b/GFramework.Game/ui/UiTransitionPipeline.cs index 00605f1..cd4f000 100644 --- a/GFramework.Game/ui/UiTransitionPipeline.cs +++ b/GFramework.Game/ui/UiTransitionPipeline.cs @@ -110,7 +110,7 @@ public class UiTransitionPipeline Log.Debug( "Execute pipeline: Phases={0}, From={1}, To={2}, Type={3}, HandlerCount={4}", phases, - @event.FromUiKey, + @event.FromUiKey ?? "None", @event.ToUiKey ?? "None", @event.TransitionType, _handlers.Count