12 #include "Engine/World.h" 15 ActorSpawnedDelegate(FOnActorSpawned::FDelegate::CreateUObject(this, &
UTaggerDelegate::OnActorSpawned)) {}
24 if (InActor !=
nullptr) {
Used to tag every actor that is spawned into the world.
FOnActorSpawned::FDelegate ActorSpawnedDelegate
void OnActorSpawned(AActor *Actor)
static void TagActor(const AActor &Actor, bool bTagForSemanticSegmentation)
Set the tag of an actor.
bool bSemanticSegmentationEnabled
void RegisterSpawnHandler(UWorld *World)