From 8b5c9a1f4bfa4a6731c23f798eb08415dba0550a Mon Sep 17 00:00:00 2001 From: Ji Yoon Rhee Date: Wed, 12 Jun 2024 22:48:50 +0900 Subject: [PATCH] still working on implementing the CheckForIntertactable(). the ui is buggy --- hwanyoung2/Source/hwanyoung2/hwanyoung2Character.cpp | 3 +++ hwanyoung2/Source/hwanyoung2/hwanyoung2Character.h | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.cpp b/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.cpp index 50bfa579..01d9018e 100644 --- a/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.cpp +++ b/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.cpp @@ -101,6 +101,9 @@ void Ahwanyoung2Character::CheckForInteractables() void Ahwanyoung2Character::Tick(float DeltaTime) { + Super::Tick(DeltaTime); + + CheckForInteractables(); } ////////////////////////////////////////////////////////////////////////// diff --git a/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.h b/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.h index 9457aa56..c231b135 100644 --- a/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.h +++ b/hwanyoung2/Source/hwanyoung2/hwanyoung2Character.h @@ -111,6 +111,5 @@ protected: // To add mapping context virtual void BeginPlay(); - };