From a645e65b094efc5a86e1db45eca0b36fa7ae3c35 Mon Sep 17 00:00:00 2001 From: walkpan Date: Wed, 1 Apr 2026 19:53:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=99=A8=E9=A2=84=E5=88=B6=E4=BD=93=E4=B8=AD?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=92=8C=E6=8C=89=E9=92=AE=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将页面和按钮的引用从 null 恢复为正确的组件ID,并停用一个不必要的组件,以确保UI导航功能正常工作。 --- assets/resources/gui/role_controller.prefab | 22 +++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 7c3091b3..1d88fb24 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -12607,7 +12607,7 @@ "__id__": 947 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 955 @@ -23754,11 +23754,21 @@ "__prefab": { "__id__": 1112 }, - "heros_page": null, - "rank_page": null, - "home_btn": null, - "hero_btn": null, - "rank_btn": null, + "heros_page": { + "__id__": 626 + }, + "rank_page": { + "__id__": 1093 + }, + "home_btn": { + "__id__": 1004 + }, + "hero_btn": { + "__id__": 963 + }, + "rank_btn": { + "__id__": 1045 + }, "_id": "" }, {