fix(dialog): 移除重复对话推进调用并清理命名空间引用

This commit is contained in:
2026-05-01 16:46:11 +08:00
parent 4ef236274d
commit dcf5bf6e09
2 changed files with 3 additions and 7 deletions
@@ -1,5 +1,4 @@
using System;
using AibisDream.Framework;
using UnityEngine;
namespace AibisDream
+3 -6
View File
@@ -28,9 +28,6 @@ namespace AibisDream
DialogController.Instance.lineSyncToken = lineSyncEvent;
DispatchToView(dialogueLine, lineSyncEvent);
// 最后交给推进处理
advanceInput.RunLine(lineSyncEvent);
using var skipReg = token.HurryUpToken.Register(() =>
{
if (lineSyncEvent.state == LineSyncState.PlayText)
@@ -140,7 +137,7 @@ namespace AibisDream
return;
}
}
public void HideDialog()
{
foreach (var view in _screenViewDict.Values)
@@ -163,6 +160,6 @@ namespace AibisDream
public interface ILineView
{
void RunLine(LineSyncToken token);
void HideDialog() {}
void HideDialog() { }
}
}
}