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

Method Cleanup

Source/Flow/Private/Nodes/Route/FlowNode_Timer.cpp:135–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void UFlowNode_Timer::Cleanup()
136{
137 if (GetWorld())
138 {
139 GetWorld()->GetTimerManager().ClearTimer(CompletionTimerHandle);
140 }
141 CompletionTimerHandle.Invalidate();
142
143 if (GetWorld())
144 {
145 GetWorld()->GetTimerManager().ClearTimer(StepTimerHandle);
146 }
147 StepTimerHandle.Invalidate();
148
149 SumOfSteps = 0.0f;
150
151 Super::Cleanup();
152}
153
154void UFlowNode_Timer::OnSave_Implementation()
155{

Callers

nothing calls this directly

Calls 1

CleanupFunction · 0.85

Tested by

no test coverage detected