Fix full flow reset cleanup for outlines and residual objects, adjust EndPanel buttons

This commit is contained in:
yangbear
2026-07-12 12:17:06 +08:00
parent a6bda2b296
commit e7eb9a9cbc
8 changed files with 312 additions and 66 deletions
+7 -1
View File
@@ -22,6 +22,12 @@ public static class ActionHistory
public static Stack<HistoryItem> History = new Stack<HistoryItem>();
public static void Clear()
{
History.Clear();
Debug.Log("[ActionHistory] 已清空历史记录");
}
public static void Push(ActionType type, MonoBehaviour handler, int extra = 0)
{
History.Push(new HistoryItem { Type = type, Handler = handler, ExtraInt = extra });
@@ -102,4 +108,4 @@ public static class ActionHistory
return true;
}
}
}