yangbear
|
53f856e44e
|
Optimize WebGL build and video loading
|
2026-07-14 00:16:34 +08:00 |
|
yangbear
|
79e1fbb70b
|
Implement limb fixation exam flow
|
2026-07-12 20:34:49 +08:00 |
|
yangbear
|
e7eb9a9cbc
|
Fix full flow reset cleanup for outlines and residual objects, adjust EndPanel buttons
|
2026-07-12 12:17:06 +08:00 |
|
yangbear
|
a6bda2b296
|
Add close logic for BtnYes and BtnBack on EndPanel
|
2026-07-12 07:06:59 +08:00 |
|
yangbear
|
ab7f0fb1b2
|
Fix duplicate voice playback on Ping completion and add EndPanel integration
|
2026-07-12 07:03:36 +08:00 |
|
yangbear
|
fec97295be
|
Do not overwrite VideoPlayer url, just play the pre-configured video
|
2026-07-10 05:04:20 +08:00 |
|
yangbear
|
0abf59a7d7
|
Centralize VideoPanel logic in UIManager to solve reference ambiguity
|
2026-07-10 05:01:29 +08:00 |
|
yangbear
|
a33435a827
|
fix: resolve Next/Previous step and UI skipping bugs
|
2026-07-08 09:38:42 +08:00 |
|
yangbear
|
4540ff4942
|
fix: 移除UIManager重复按钮绑定+InteractionSystem误触发——根因修复
根因: UIManager._btnLimbFixation/_btnSplintFixation调用SwitchFixation
与PageController的OnFixationSelected双重触发,StepManager._mode被设为Learn
导致OnStepInteractionComplete→NextStep→WomanStepNext自动跳过步骤。
修复:
1. UIManager.BindButtons移除_btnLimbFixation/_btnSplintFixation的SwitchFixation绑定
2. ExperimentFlowCoordinator.OnAnywhereClicked增加无Config步骤时忽略的注释守卫
|
2026-06-30 21:59:47 +08:00 |
|
yangbear
|
8c5412f390
|
fix: 片头动画改为用户触发而非自动播放
- OpeningFlowController: Start() 不再自动播放动画,新增 PlayOpeningFlow(Action onComplete) 公开方法
- PageController: OnFixationSelected() 先隐藏所有UI面板,调用 PlayOpeningFlow,动画结束后再显示 ExperimentPanel
- 新增 HideAllPages() 方法用于片头动画期间清空UI
- 所有按钮回调均保留 Debug.Log 输出
|
2026-06-29 20:25:57 +08:00 |
|
yangbear
|
0a1fce450c
|
fix: 清理AI遗留代码,修复场景配置
- 删除三套旧菜单系统 (MainMenu.cs, MainMenuUI.cs, ModeSelectionUI.cs)
- Ground 添加 BoxCollider 并设置 tag 为 Ground
- UIManager.OnReturnClicked 改为通过 PageController 返回首页
- PageController 增加 ReturnToHome 方法,管理 BtnFixationBack 可见性
- 清理废弃场景 Experiment.unity / ModeSelection.unity 及历史截图
|
2026-06-25 04:37:45 +08:00 |
|
yangbear
|
bf926165c0
|
feat: 场景优化 - 清理重复对象、设置Tags/Colliders、重建Canvas UI、连线Inspector引用
- 删除顶层重复的 GameManager/ExperimentController/InteractionSystem/AnimationController
- 移除Canvas上的旧 HUDController(保留 UIManager)
- 为14个交互定位点设置Tag并添加SphereCollider
- 创建12个自定义Tag(InjuryVisual/Swelling/Pain/VitalSigns/Neuro/BandagePos1-3/Ankle/PaddingPos/SplintLeft/SplintRight)
- 完全重建Canvas UI子对象结构以匹配 UIManager 脚本
- 连线 ExperimentFlowCoordinator 和 UIManager 的所有 serialized fields
- 编译零错误,游戏画面正常显示
|
2026-06-24 02:44:58 +08:00 |
|
yangbear
|
f0a6b96da5
|
feat: MCP Unity 场景优化 — 完整交互体系搭建
- 删除重复 Ground
- 创建 [Managers] 空物体,挂载 GameManager + StepManager + ExperimentFlowCoordinator + AudioManager
- Main Camera 挂载 InteractionSystem
- 伤者 InjectedPerson 下创建 5 个交互子物体 (InjuryVisual/Swelling/Pain/VitalSigns/Neuro)
- 创建绑带位置、踝关节、衬垫、夹板位置等空物体
- 道具摆放到位:伤者(2,0.05,5) 施救者(3,0,5) 鞋(2.7,0.15,5.5) 绷带/夹板/急救箱在旁
- InjuryLeg Tag 修正,Ground Tag 修正
- 全部新脚本同步导入 (ExperimentTypes/StepData/ExperimentConfig/StepManager/GameManager/ExperimentFlowCoordinator/InteractionSystem/DraggableObject/HighlightEffect/UIManager/ExamPopup/ScoreDisplay/VideoController/AudioManager/CharacterAnimController/StepAnimationHandler)
- 旧脚本 (ExperimentController/ConfigLoader/AnimationController/HUDController/VideoPlayerController/PopupSystem/ModeSelectionUI) 全部兼容修复或 stub
- 编译通过,0 错误
- Canvas 挂载 UIManager
|
2026-06-24 02:33:48 +08:00 |
|