试图修复快进模式卡流程的问题

This commit is contained in:
2025-07-14 19:46:24 +08:00
parent 1fa92e420c
commit 02ed2fb7aa
5 changed files with 22 additions and 7 deletions
@@ -72,6 +72,13 @@ namespace AibisDream
public void StartDialogNode(string nodeName)
{
// 检查对话是否正在运行
if (_dialogueRunner.IsDialogueRunning)
{
Debug.LogWarning($"对话正在运行中,无法启动新节点: {nodeName}");
return;
}
if (CheckIfNodeExistInCurrentYarnProject(nodeName))
{
_dialogueRunner.StartDialogue(nodeName);