From b9e784f9121911225e8add3f72c619a962983c7e Mon Sep 17 00:00:00 2001 From: Lihao7788 <2470304407@qq.com> Date: Wed, 23 Apr 2025 15:38:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=A8=A1=E5=9D=97=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E4=BB=BB=E5=8A=A1=EF=BC=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UILongPicture/UIChangeOperation.cs | 18 +++++--- Data/Xml/03_ChangJingXuNiPaiShe.xml | 43 ++++++++++++------- 2 files changed, 39 insertions(+), 22 deletions(-) diff --git a/Assets/Scripts/UILongPicture/UIChangeOperation.cs b/Assets/Scripts/UILongPicture/UIChangeOperation.cs index dde06e65..f52c2fe9 100644 --- a/Assets/Scripts/UILongPicture/UIChangeOperation.cs +++ b/Assets/Scripts/UILongPicture/UIChangeOperation.cs @@ -15,7 +15,7 @@ namespace QFramework.Example Button curBtn; protected override void OnInit(IUIData uiData = null) { - TypeEventSystem.Global.Register(OnModuleQuit).UnRegisterWhenGameObjectDestroyed(gameObject); + //TypeEventSystem.Global.Register(OnModuleQuit).UnRegisterWhenGameObjectDestroyed(gameObject); mData = uiData as UIChangeOperationData ?? new UIChangeOperationData(); // please add init code here @@ -45,6 +45,7 @@ namespace QFramework.Example { } + protected override void OnShow() { } @@ -55,14 +56,17 @@ namespace QFramework.Example } - + private void OnDisable() + { + + } protected override void OnClose() { - - } - public void OnModuleQuit(OnModuleQuit arg) - { - Hide(); + //transform.gameObject.SetActive(false); } + //public void OnModuleQuit(OnModuleQuit arg) + //{ + // Hide(); + //} } } diff --git a/Data/Xml/03_ChangJingXuNiPaiShe.xml b/Data/Xml/03_ChangJingXuNiPaiShe.xml index fa303599..21188e95 100644 --- a/Data/Xml/03_ChangJingXuNiPaiShe.xml +++ b/Data/Xml/03_ChangJingXuNiPaiShe.xml @@ -11,17 +11,21 @@ + + - + + + - - - + + + + + @@ -66,8 +70,8 @@ - - + + @@ -83,11 +87,13 @@ - + + - + + @@ -98,14 +104,14 @@ - + - + @@ -114,7 +120,7 @@ - + @@ -130,7 +136,8 @@ - + + @@ -202,7 +209,7 @@ - + @@ -215,6 +222,7 @@ + @@ -776,6 +784,7 @@ + @@ -1457,6 +1466,8 @@ + + @@ -1475,6 +1486,7 @@ + @@ -2037,6 +2049,7 @@ +