feat: 上一步/下一步支持woman步进撤销重做

- StepManager新增自由步进模式(无Config时):
  InitWomanSteps/RecordWomanStep/WomanStepPrevious/WomanStepNext
- PreviousStep/NextStep在_activeSteps为null时走woman步进
- TouchPositionHandler点击后通知StepManager.RecordWomanStep
- PageController在实验启动时调用InitWomanSteps初始化
- 上一步→woman回到上个位置+显示对应touchPoint
- 下一步→woman移到下个位置+显示对应touchPoint
This commit is contained in:
yangbear
2026-06-30 14:32:30 +08:00
parent 524ad732f9
commit 2df79866d0
4 changed files with 173 additions and 21 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ public class PageController : MonoBehaviour
{
Debug.Log("PageController: 片头动画完成,显示 ExperimentPanel");
ActivateExperimentObjects();
ShowPage(Page.Experiment);
var smW = FindObjectOfType<StepManager>(); if (smW != null) smW.InitWomanSteps(); ShowPage(Page.Experiment);
var stepManager = FindObjectOfType<StepManager>();
if (stepManager != null)