From 320a74d4bbbdb760fe9fdc02a4fb318d37086ef7 Mon Sep 17 00:00:00 2001 From: PHILIP White Date: Fri, 6 Jan 2023 13:55:38 +0000 Subject: [PATCH] Added Stub for OnInteract Event --- .../InteractableEnvironment/InteractableEnvironmentObject.cpp | 4 ++++ .../InteractableEnvironment/InteractableEnvironmentObject.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.cpp b/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.cpp index 997ed47..1ea6410 100644 --- a/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.cpp +++ b/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.cpp @@ -28,4 +28,8 @@ void UInteractableEnvironmentObject::TickComponent(float DeltaTime, ELevelTick T } +void UInteractableEnvironmentObject::OnInteract() +{ +} + diff --git a/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.h b/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.h index 0d4f20d..c650652 100644 --- a/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.h +++ b/Source/the_twilight_abyss/InteractableEnvironment/InteractableEnvironmentObject.h @@ -28,5 +28,5 @@ public: bool bInteractable = false; UFUNCTION(Blueprintcallable) - virtual + virtual void OnInteract(); };