MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / PreStartFlow

Method PreStartFlow

Source/Flow/Private/FlowAsset.cpp:955–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953}
954
955void UFlowAsset::PreStartFlow()
956{
957 ResetNodes();
958
959#if WITH_EDITOR
960 check(IsInstanceInitialized());
961
962 if (TemplateAsset->ActiveInstances.Num() == 1)
963 {
964 // this instance is the only active one, set it directly as Inspected Instance
965 TemplateAsset->SetInspectedInstance(this);
966 }
967 else
968 {
969 // request to refresh list to show newly created instance
970 TemplateAsset->BroadcastDebuggerRefresh();
971 }
972#endif
973}
974
975void UFlowAsset::StartFlow(IFlowDataPinValueSupplierInterface* DataPinValueSupplier)
976{

Callers

nothing calls this directly

Calls 3

IsInstanceInitializedFunction · 0.85
SetInspectedInstanceMethod · 0.80

Tested by

no test coverage detected