| 953 | } |
| 954 | |
| 955 | void 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 | |
| 975 | void UFlowAsset::StartFlow(IFlowDataPinValueSupplierInterface* DataPinValueSupplier) |
| 976 | { |
nothing calls this directly
no test coverage detected