UGameFrameworkComponentManager::AddGameFrameworkComponentReceiver

Adds an actor as a receiver for components (automatically finding the manager for the actor's game instance).

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

static void AddGameFrameworkComponentReceiver
(
    AActor * Receiver,
    bool bAddOnlyInGameWorlds
)

Remarks

Adds an actor as a receiver for components (automatically finding the manager for the actor's game instance). 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