feat: rewrite 3D step undo using an exact ActionHistory stack

This commit is contained in:
yangbear
2026-07-09 03:16:00 +08:00
parent 99a3b69828
commit 8123f18785
6 changed files with 124 additions and 128 deletions
@@ -83,6 +83,7 @@ public class TouchPositionHandler : MonoBehaviour
int stepIndex = transform.GetSiblingIndex() + 1;
var sm = FindObjectOfType<StepManager>();
if (sm != null) sm.RecordWomanStep(stepIndex);
ActionHistory.Push(ActionHistory.ActionType.Woman, this);
// point1 点击后先激活 Shose
if (stepIndex == 1)