Skip to content

增加入室交流确认与纸条内容,作者化宠物交互视觉 - #35

Merged
ULookup merged 1 commit into
mainfrom
codex/apartment-communication-notes
Sep 11, 2026
Merged

ULookup merged 1 commit into
mainfrom
codex/apartment-communication-notes

Conversation

@ULookup

@ULookup ULookup commented Sep 11, 2026

Copy link
Copy Markdown
Owner

进入对方房间后显示交流/拒绝按钮;接受后暂停双方、随机选择不连续重复的话题,回应时只结算一次,取消或离开时释放交流占用的锁。纸条扩充为双方各 17 条,并在 6 个槽位保存 102 个视觉变体。

同时修复 PetController 原有的四处视觉闸门失败:交互 GameObject、Sprite 和 AnimatorController 均由 Prefab/Scene 保存;运行时使用明确绑定,结束时隐藏交互视觉并停用动画。主 Animator 不再被运行时强制替换,保留 main 的外部动画控制能力。交互子节点维持家具世界姿态,避免隐藏身体移动/缩放带动画面。

  • 基于 main 84c3471,仅提交功能、资源绑定、测试及相关文档。
  • 不包含 Unity 版本、包源、MCP 配置、旧日志、字体动态缓存和 Animator 的纯 ID 重排;旧 WorldMap 网格/土壤层级变更已被 main 的新版布局取代,保留主线布局。
  • 新增显式编辑器作者化工具与 7 个视觉绑定/生命周期回归用例。

验证:verify-task.ps1 -JsonOnly、4 份 Scene/Prefab 资源契约、3 个运行时文件扫描、任务范围检查、已提交 diff 空白检查通过;新增节点、组件引用、资源 GUID、默认禁用状态和 fileID 唯一性检查通过。使用 Unity 2022.3.62f3 所带 Roslyn 与本地缓存依赖,28 个程序集(含编辑器和 EditMode 测试程序集)编译通过。

草稿原因:完整 Unity EditMode / Play 回归未运行。 独立工作区的 UPM 在包解析阶段返回 The path argument must be of type string. Received undefined;禁用 UPM 的启动未加载 UI 包,也未能完成 Unity 导入。这些步骤没有标成通过。文档中的 2026-09-09 65/65 和 Play 结果属于原功能的历史证据,不是本次集成后的运行结果。待环境恢复后,需要执行测试、验证睡眠/浇花/演奏/写字的家具姿态及交流取消,并完成 Scene/Play 画面对照。

@ULookup
ULookup marked this pull request as ready for review September 11, 2026 07:46
@ULookup
ULookup merged commit 1144c06 into main Sep 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant