From b118ece3db250a5a257b60713da92234d8d5a57a Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期一, 19 五月 2025 17:03:24 +0800 Subject: [PATCH] 报错冲突处理 --- Main/Component/UI/Common/SecondFrameLoader2.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Main/Component/UI/Common/SecondFrameLoader2.cs b/Main/Component/UI/Common/SecondFrameLoader2.cs index b98425c..2295433 100644 --- a/Main/Component/UI/Common/SecondFrameLoader2.cs +++ b/Main/Component/UI/Common/SecondFrameLoader2.cs @@ -43,11 +43,11 @@ public void InitUI() { var button = this.GetComponentInChildren<ButtonEx>(); - var window = this.GetComponentInParent<Window>(); + var window = this.GetComponentInParent<UIBase>(); button.AddListener(() =>//鍏抽棴鎸夐挳 { - DebugEx.Log("鍏抽棴绐楀彛"); - window.Close(); + Debug.Log("鍏抽棴绐楀彛"); + window.CloseWindow(); }); var text = this.GetComponentInChildren<Text>(); if (text != null) -- Gitblit v1.8.0