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

Method UnregisterComponent

Source/Flow/Private/FlowSubsystem.cpp:526–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526void UFlowSubsystem::UnregisterComponent(UFlowComponent* Component)
527{
528 for (const FGameplayTag& Tag : Component->IdentityTags)
529 {
530 if (Tag.IsValid())
531 {
532 FlowComponentRegistry.Remove(Tag, Component);
533 }
534 }
535
536 OnComponentUnregistered.Broadcast(Component);
537}
538
539void UFlowSubsystem::OnIdentityTagRemoved(UFlowComponent* Component, const FGameplayTag& RemovedTag)
540{

Callers 1

Calls 1

IsValidMethod · 0.80

Tested by

no test coverage detected