UGameFrameworkComponentManager::AddReceiver

Adds an actor as a receiver for components.

Windows
MacOS
Linux

References

Module

ModularGameplay

Header

/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponentManager.h

Include

#include "Components/GameFrameworkComponentManager.h"

Source

/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Private/Components/GameFrameworkComponentManager.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Gameplay",
          Meta=(DefaultToSelf="Receiver", AdvancedDisplay=1))
void AddReceiver
(
    AActor * Receiver,
    bool bAddOnlyInGameWorlds
)

Remarks

Adds an actor as a receiver for components. If it passes the actorclass filter on requests it will get the components.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss