8#include "CoreMinimal.h"
9#include "GameFramework/Actor.h"
10#include "Components/BoxComponent.h"
13#include "DeletionVolume.generated.h"
27 UFUNCTION(BlueprintCallable)
28 void ChangeOverlapBounds(FVector Bounds);
35 UFUNCTION(BlueprintCallable)
36 void DestroyOverlappingActors(
bool OnlyTrees);
40 virtual void BeginPlay()
override;
42 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
44 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category =
"Components")
45 UBoxComponent* CollisionBox =
nullptr;
47 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Components")
48 UBoundsVisualizerComponent* VisualizerComponent =
nullptr;