Navigation
API > API/Plugins > API/Plugins/ModularGameplay > API/Plugins/ModularGameplay/UGameFrameworkComponentManager
Description
Adds an extension handler to run on actors of the given class. Returns a handle that will keep the handler "alive" until it is destructed, at which point the delegate is removed
| Name | AddExtensionHandler |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponentManager.h |
| Include Path | #include "Components/GameFrameworkComponentManager.h" |
| Source | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Private/Components/GameFrameworkComponentManager.cpp |
TSharedPtr < FComponentRequestHandle > AddExtensionHandler
(
const TSoftClassPtr < AActor > & ReceiverClass,
FExtensionHandlerDelegate ExtensionHandler
)