public override IAutoNode GetNextNode() { if (prevDecisionIndex < DialogManager.GetDecisionButtons().Count) { DialogManager.ClearDecisions(); NodePort outputPort = GetOutputPort("Decisions " + prevDecisionIndex); NodePort inputPort = outputPort.Connection; return((IAutoNode)inputPort.node); } else { return(null); } }