feat(ui): 添加 TerminalPanel 统一终端 UI 导航并移除旧面板

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-01 19:03:14 +08:00
co-authored by Cursor
parent 4deb565882
commit 024202b19e
20 changed files with 472 additions and 685 deletions
@@ -260,7 +260,7 @@ namespace AibisDream.SaveSystem
/// <summary>
/// 读档前对齐「已进入游戏」的 UI 与输入状态。
/// 编辑器测试工具等路径可能跳过 <see cref="GameLoopEnum.GameStart"/>,导致 StartPanel 未关闭、
/// 编辑器测试工具等路径可能跳过 <see cref="GameLoopEnum.GameStart"/>,导致 TerminalPanel 未关闭、
/// <see cref="GameManager.state.isInGame"/> 为 false,从而无法推进对话。
/// </summary>
private static void PrepareGameSessionForRestore()
@@ -276,9 +276,8 @@ namespace AibisDream.SaveSystem
var ui = UIManager.Instance;
if (ui != null)
{
ui.HidePreferredStartPanel();
ui.HideTerminal();
ui.ShowPanel<MainPanel>();
ui.HidePreferredChapterPanel();
ui.HidePanel<SavesPanel>();
ui.HidePanel<EndPanel>();
}