| 765 | } |
| 766 | |
| 767 | bool UFlowNode::IsInputConnected(const FName& PinName, bool bErrorIfPinNotFound) const |
| 768 | { |
| 769 | if (const FFlowPin* FlowPin = FindFlowPinByName(PinName, InputPins)) |
| 770 | { |
| 771 | return IsInputConnected(*FlowPin); |
| 772 | } |
| 773 | |
| 774 | if (bErrorIfPinNotFound) |
| 775 | { |
| 776 | LogError(FString::Printf(TEXT("Unknown pin %s"), *PinName.ToString()), EFlowOnScreenMessageType::Temporary); |
| 777 | } |
| 778 | |
| 779 | return false; |
| 780 | } |
| 781 | |
| 782 | bool UFlowNode::IsOutputConnected(const FName& PinName, bool bErrorIfPinNotFound) const |
| 783 | { |