From d91c59aa5c6d9832f27f2ce936eea0eaab83c600 Mon Sep 17 00:00:00 2001 From: Ji Yoon Rhee Date: Mon, 16 Oct 2023 20:50:21 -0400 Subject: [PATCH] halfway worked on Interactables...handing off to Ken --- hwanyoung2/Source/hwanyoung2/HYInteractableActor.h | 5 +++++ 1 file changed, 5 insertions(+) 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;