剥离判断逻辑到yarn

This commit is contained in:
2024-11-12 16:36:03 +08:00
parent 74eecb5e18
commit 256f6dbb12
4 changed files with 66 additions and 21 deletions
@@ -118,7 +118,11 @@ namespace AibisDream
}
public void StartDialogNode(string nodeName)
{
dialogueRunner.StartDialogue(nodeName);
if(CheckIfNodeExistInCurrentYarnProject(nodeName))
{
dialogueRunner.StartDialogue(nodeName);
}
}
public bool CheckIfNodeExistInCurrentYarnProject(string nodeName)