| 1094 | } |
| 1095 | |
| 1096 | void UFlowAsset::TriggerCustomInput_FromSubGraph(UFlowNode_SubGraph* SubGraphNode, const FName& EventName) const |
| 1097 | { |
| 1098 | // NOTE (gtaylor) Custom Input nodes cannot currently add data pins (like Start or DefineProperties nodes can) |
| 1099 | // but we may want to allow them to source parameters, so I am providing the subgraph node as the |
| 1100 | // IFlowDataPinValueSupplierInterface when triggering the node (even though it's not used at this time). |
| 1101 | |
| 1102 | const TWeakObjectPtr<UFlowAsset> FlowInstance = ActiveSubGraphs.FindRef(SubGraphNode); |
| 1103 | if (FlowInstance.IsValid()) |
| 1104 | { |
| 1105 | FlowInstance->TriggerCustomInput(EventName, SubGraphNode); |
| 1106 | } |
| 1107 | } |
| 1108 | |
| 1109 | void UFlowAsset::TriggerCustomInput(const FName& EventName, IFlowDataPinValueSupplierInterface* DataPinValueSupplier) |
| 1110 | { |
no test coverage detected