| 8 | #include "Blaster/Character/BlasterCharacter.h" |
| 9 | |
| 10 | AFlag::AFlag() |
| 11 | { |
| 12 | FlagMesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("FlagMesh")); |
| 13 | SetRootComponent(FlagMesh); |
| 14 | GetAreaSphere()->SetupAttachment(FlagMesh); |
| 15 | GetPickupWidget()->SetupAttachment(FlagMesh); |
| 16 | FlagMesh->SetCollisionResponseToAllChannels(ECollisionResponse::ECR_Ignore); |
| 17 | FlagMesh->SetCollisionEnabled(ECollisionEnabled::NoCollision); |
| 18 | } |
| 19 | |
| 20 | void AFlag::Dropped() |
| 21 | { |
nothing calls this directly
no outgoing calls
no test coverage detected