剥离判断逻辑到yarn
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user