DoOnceMultiInput Node: provide's DoOnce behavior but with multiple input/output pairs. Basically, a 'first through' node.

[CL 2094646 by David Ratti in Main branch]
This commit is contained in:
David Ratti
2014-06-04 13:51:09 -04:00
committed by UnrealBot
parent a2ba402334
commit d129babe72
5 changed files with 444 additions and 0 deletions

View File

@@ -49,6 +49,12 @@ FReply SGraphNodeK2Sequence::OnAddPin()
UpdateGraphNode();
GraphNode->GetGraph()->NotifyGraphChanged();
}
else if (UK2Node_DoOnceMultiInput* DoOnceMultiNode = Cast<UK2Node_DoOnceMultiInput>(GraphNode))
{
DoOnceMultiNode->AddInputPin();
UpdateGraphNode();
GraphNode->GetGraph()->NotifyGraphChanged();
}
return FReply::Handled();
}