12#include "Engine/World.h"
15 ActorSpawnedDelegate(FOnActorSpawned::FDelegate::CreateUObject(this, &
UTaggerDelegate::OnActorSpawned)) {}
24 if (InActor !=
nullptr) {
static void TagActor(const AActor &Actor, bool bTagForSemanticSegmentation)
设置角色的标签。
void OnActorSpawned(AActor *Actor)
FOnActorSpawned::FDelegate ActorSpawnedDelegate
bool bSemanticSegmentationEnabled
void RegisterSpawnHandler(UWorld *World)