feat: group all ping steps into a single undo action per user request

This commit is contained in:
yangbear
2026-07-09 16:51:57 +08:00
parent ea913c85d0
commit c0edd71a56
2 changed files with 41 additions and 26 deletions
+7
View File
@@ -226,6 +226,13 @@ public class StepManager : MonoBehaviour
OnStepChanged?.Invoke(_pingStepIndex);
}
public void ResetPingStep()
{
_pingStepIndex = 0;
Debug.Log($"StepManager: Ping彻底重置 -> {_pingStepIndex}");
OnStepChanged?.Invoke(_pingStepIndex);
}
public void DecrementWomanStep()
{
if (_womanStepIndex > 0) _womanStepIndex--;