接入菜单导航并改造通用按钮交互

- 将 CommonButton 改为基于 Unity Button 实现,保留原有 pointer enter、click、pointer exit 三类事件配置,同时接入 Selectable/Button 的导航、选中和提交能力。补充 CommonButton 自定义 Inspector,保留项目自定义事件与背景配置的编辑体验。

- 同步调整菜单相关 UI,将 StartMenuForm 迁移为 MenuForm,并更新 UIForm 配置、菜单 Controller/Form 以及相关 prefab 引用。更新多个 UI prefab 和通用按钮 prefab,使菜单、商店、角色选择、道具展示等界面能够使用新的按钮选中与导航交互。
This commit is contained in:
SepComet
2026-06-16 17:09:20 +08:00
committed by basil
parent 21d0b410b6
commit 1cd3936f49
18 changed files with 1022 additions and 245 deletions
+3 -1
View File
@@ -1563,7 +1563,7 @@ MonoBehaviour:
- _uiFormType: 1
_controllerTypeName: SepCore.UI.DialogController, SepCore.Presentation, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
- _uiFormType: 200
- _uiFormType: 100
_controllerTypeName: SepCore.UI.MenuController, SepCore.Presentation, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
- _uiFormType: 101
@@ -1645,6 +1645,8 @@ MonoBehaviour:
offsetSmoothing: 0.8
offsetDeadZone: 0.1
_baseFollowOffset: {x: 0, y: 10, z: 0}
_lockRotation: 1
_fixedRotationEuler: {x: 90, y: 0, z: 0}
--- !u!114 &2103467909
MonoBehaviour:
m_ObjectHideFlags: 0