fix(dialog): 移除重复对话推进调用并清理命名空间引用
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using AibisDream.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AibisDream
|
||||
|
||||
@@ -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() { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user