protected BaseNodeData GetNodeByNodePort(DialogueNodePort _nodePort) { return(dialogueContainer.AllNodes.Find(node => node.NodeGuid == _nodePort.InputGuid)); }
// Getting node by its port protected BaseNodeData GetNodeByNodePort(DialogueNodePort nodePort) { return(currentDialogue.AllNodes.Find(node => node.NodeGuid == nodePort.InputGuid)); }