12 : Super(ObjectInitializer) {
13 PrimaryActorTick.bCanEverTick =
false;
16 ObjectInitializer.CreateDefaultSubobject<USceneComponent>(
this, TEXT(
"SceneRootComponent"));
17 RootComponent->SetMobility(EComponentMobility::Static);
22 TArray<USignComponent*> Components;
23 GetComponents<USignComponent>(Components,
false);
26 USignComponent* SignComponent = Components[0];
27 return SignComponent->GetEffectTriggerVolume();
31 TArray<UBoxComponent*> TriggerVolumes;
33 return TriggerVolumes;
TArray< UBoxComponent * > GetTriggerVolumes() const
UBoxComponent * GetTriggerVolume() const
ATrafficSignBase(const FObjectInitializer &ObjectInitializer)