diff --git a/hwanyoung2/Source/hwanyoung2/HYInteractableActor.h b/hwanyoung2/Source/hwanyoung2/HYInteractableActor.h index ba81de2d..d7a0df35 100644 --- a/hwanyoung2/Source/hwanyoung2/HYInteractableActor.h +++ b/hwanyoung2/Source/hwanyoung2/HYInteractableActor.h @@ -15,6 +15,11 @@ public: // Sets default values for this actor's properties AHYInteractableActor(); + //this is a Blueprint + UFUNCTION(BlueprintNativeEvent) + void Interact(APlayerController* Controller); + virtual void Interact_Implementation(APlayerController* Controller); + protected: // Called when the game starts or when spawned virtual void BeginPlay() override;