20 virtual void BeginPlay()
override;
23 virtual void Tick(
float DeltaTime)
override;
25 UFUNCTION(BlueprintNativeEvent, Category =
"Interaction")
28 virtual
void OnActivate_Implementation();
33 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Trigger")
34 TObjectPtr<class UBoxComponent> TriggerBox;
37 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Trigger")
41 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Debug")
45 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Debug")
51 void OnTriggerBeginOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor,
52 UPrimitiveComponent* OtherComp, int32 OtherBodyIndex,
bool bFromSweep, const FHitResult& SweepResult);