17 virtual void BeginPlay()
override;
20 virtual void Tick(
float DeltaTime)
override;
22 UFUNCTION(BlueprintNativeEvent, Category =
"Interaction")
24 virtual
void OnActivate_Implementation();
29 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Trigger")
30 TObjectPtr<class UBoxComponent> TriggerBox;
33 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Trigger")
37 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Debug")
41 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Debug")
47 void OnTriggerBeginOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor,
48 UPrimitiveComponent* OtherComp, int32 OtherBodyIndex,
bool bFromSweep, const FHitResult& SweepResult);