SepComet
|
43f81c8926
|
将 ShopController 构建 Context 的功能迁移到 partial class 里,并调整了部分构建逻辑
|
2026-06-17 11:57:46 +08:00 |
SepComet
|
5c3b87ab3f
|
重构:统一 UI 模块目录结构规范
- 事件命名规范化:RefreshEventArgs → LevelUpRefreshEventArgs
- LevelUp 子组件目录调整:LevelUpRewardItem + LevelUpRewardItemContext 移动到 LevelUp/
- Shop 子组件目录调整:DisplayItem/DisplayListArea/GoodsItem/ShopGoodsItem 及其 Context/RawData 全部移动到 Shop/
- 删除冗余文件:LevelUpRewardItemRawData(从未被使用)
- 新增 ObjectPool 目录结构
- 更新 LevelUpController 和 LevelUpForm 中的事件引用
|
2026-06-17 09:50:47 +08:00 |
SepComet
|
c30b256d7a
|
重构:修复 Shop 与 ItemTooltip 跨模块事件边界问题
- 将 _tooltipLocked 状态从 ItemTooltipController 移到 ShopController 维护
- DisplayItem 只发 Shop 模块 UI 事件(Hover/Lock/Hide)
- ItemTooltipForm 取消按钮发 ItemTooltip 模块事件自关闭
- ShopController 通过 UIRouter 跨模块控制 ItemTooltipForm
- 移除 DisplayItemHideEventArgs 的 Force 字段,分离两种关闭场景
|
2026-06-17 09:37:44 +08:00 |
SepComet
|
2590f31250
|
将原来遗漏的脚本文件夹改名为正确的 DisplayItemInfo -> ItemTooltip
|
2026-06-16 22:59:08 +08:00 |
SepComet
|
9049af7966
|
将 DisplayItemInfoForm 更名为 ItemTooltipForm
|
2026-06-16 17:09:21 +08:00 |
SepComet
|
1fe2f31ede
|
对 DisplayItemInfoForm 按 5 层 UI 规范做结构整理
- 删除无用的 DisplayItemInfoUseCase,转为轻量 UI(Controller + Context + View)
- RawData 类型安全:object Data 拆分为 WeaponData + PropItem
- View 事件规范:回收按钮改用 UI 专用事件,由 Controller 通过回调转发
- 简化 _locked 状态管理,统一在 CloseUIAsync 中清理
|
2026-06-16 17:09:21 +08:00 |
SepComet
|
1cd3936f49
|
接入菜单导航并改造通用按钮交互
- 将 CommonButton 改为基于 Unity Button 实现,保留原有 pointer enter、click、pointer exit 三类事件配置,同时接入 Selectable/Button 的导航、选中和提交能力。补充 CommonButton 自定义 Inspector,保留项目自定义事件与背景配置的编辑体验。
- 同步调整菜单相关 UI,将 StartMenuForm 迁移为 MenuForm,并更新 UIForm 配置、菜单 Controller/Form 以及相关 prefab 引用。更新多个 UI prefab 和通用按钮 prefab,使菜单、商店、角色选择、道具展示等界面能够使用新的按钮选中与导航交互。
|
2026-06-16 17:09:20 +08:00 |
SepComet
|
21d0b410b6
|
接入 Hud 输入提示并完善 InputModule 提示映射
|
2026-06-16 17:09:20 +08:00 |
SepComet
|
29c4468d54
|
清理项目目录,引入 InputModule 做多平台输入适配
|
2026-06-16 17:09:19 +08:00 |
SepComet
|
0bab6ecbc5
|
迁移 Player/ProcedureGame/ShopUseCase 里的实体方法调用风格
- Player/ShopUseCase:调整了 Weapon 实体的打开方式
- ProcedureGame:调整初始化时的 Hud 和 Player 的初始化写法,流程更清楚
|
2026-06-16 17:09:19 +08:00 |
SepComet
|
3b61e263cc
|
调整 UIRouter 的打开关闭 UI 的返回值,统一成 UniTask
|
2026-06-16 17:09:19 +08:00 |
SepComet
|
170ea690b2
|
调整 SpriteCache 的读取资源方式
将原来 UGF 事件回调风格的调用改成使用 UniTask 的异步操作
|
2026-06-16 17:08:06 +08:00 |
SepComet
|
edd7088804
|
规范命名空间
具体来说就是 SepCore 开头,然后接所属的模块名,比如 SepCore.Entity,SepCore.Simulation,SepCore.Procedure
|
2026-06-03 16:57:40 +08:00 |
SepComet
|
91f70dd783
|
添加 SepCore.Runtime 和 SepCore.Base 程序集
- 暂时将 Entity 全部归进 Runtime 程序集里
- 调整部分 UI 的 UseCase/RawData/Context 之间的关系,让 RawData 更接近业务原始数据,Context 更接近 UI 直接可读的数据
- 调整其他程序集的引用关系
|
2026-06-03 11:15:58 +08:00 |
SepComet
|
7bba8bbb80
|
继续重构调整(UI)
- 引入 UniTask 和异步版本的 UIModule
- 调整 Runtime/UIBase 和 Presentation 下的脚本命名空间到 SepCore.UI
- 将原来的 5 层 UI 迁移到异步实现
- 规范各层的 UI 脚本命名
|
2026-06-03 09:58:37 +08:00 |
SepComet
|
6b8a6a8789
|
继续调整,创建 Procedure 与 Presentation 程序集
- 创建 Procedure 与 Presentation 两个程序集
- 初步解决这两个程序集与原程序集的引用关系
|
2026-06-02 23:26:08 +08:00 |
SepComet
|
affa44e4d0
|
调整 Event 和 Editor 命名空间
- 将原来的 CustomEvent 调整到 SepCore.Event
- 将 Editor 文件夹下的统一到 SepCore.Editor,顺带修改了 Editor 程序集
|
2026-06-02 19:26:21 +08:00 |
SepComet
|
34c0784190
|
第一批重构,主要是物理迁移脚本和部分命名空间的调整
- 结构上迁移文件,将脚本分成 Base/Runtime/Presentation/Procedure/Editor 五大文件夹
- 调整 DataTable 和 Definition 下脚本的命名空间
- 依据 UI-5层架构设计规范 拆分原先的 UI 到 Runtime 和 Presentation 下
|
2026-06-02 19:12:34 +08:00 |