按 UI 五层规范重构 SelectRoleForm 并整理事件目录

- SelectRoleForm 五层归位:UseCase 改为构造注入 IProcedureMenu(新增 Runtime/ProcedureInterface),RawData 暴露原始 StatModifier[] 而非展示串,Controller 复用 ItemDescUtility 拼装属性文本,并修复 OpenUIAsync(object) 合法 RawData 分支缺少 return 的误报路径
- StatModifier 去展示职责:删除 _statTypeNames / ToString,富文本格式化下沉到 Presentation 层的 ItemDescUtility.Describe(StatModifier),CreatePropDescription 改用统一入口
  - 事件目录按 UIForm 归档:Base/Event/UI/Menu/* 拆解到 SelectRoleForm/ MenuForm/ DialogForm/ DisplayItemInfoForm/ Combat/ 等各自子目录,MenuSelectRoleReturnEventArgs 改名 SelectRoleReturnEventArgs,语义归属本 UI 模块
- IUIFormController → IUIController 改名,联动 UIControllerBase / UIRouterComponent / Editor
- 同步更新 docs/UI-5层架构设计规范.md 中相关示例与 MenuForm.prefab、ProcedureMenu 引用
This commit is contained in:
SepComet
2026-06-16 17:09:20 +08:00
committed by basil
parent 1cd3936f49
commit d2ce741a37
49 changed files with 128 additions and 117 deletions
@@ -255,6 +255,11 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 345099064574680782}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Colors.m_SelectedColor.b
@@ -661,6 +666,11 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 637634966344259004}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Colors.m_SelectedColor.b
@@ -1062,6 +1072,11 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 990282440119873477}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Colors.m_SelectedColor.b
@@ -1463,6 +1478,11 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 915430015319378619}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Colors.m_SelectedColor.b
@@ -1870,6 +1890,11 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 6148722132083568899}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Colors.m_SelectedColor.b
@@ -2271,6 +2296,11 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 4891246053961263497}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4005815405540692376, guid: 0722cd253d6bf014eb4134a2151ec7e3,
type: 3}
propertyPath: m_Colors.m_SelectedColor.b