diff --git a/Source/Nakatomi/InteractableComponent.cpp b/Source/Nakatomi/InteractableComponent.cpp index a0fc5f6..c1fdc60 100644 --- a/Source/Nakatomi/InteractableComponent.cpp +++ b/Source/Nakatomi/InteractableComponent.cpp @@ -23,3 +23,7 @@ void UInteractableComponent::BeginPlay() void UInteractableComponent::Interact() { } + +void UInteractableComponent::Interact(AActor* damagedActor, float damage, const UDamageType* damageType, AController* instigatedBy, AActor* damageCauser) +{ +} diff --git a/Source/Nakatomi/InteractableComponent.h b/Source/Nakatomi/InteractableComponent.h index 03939ff..e405f17 100644 --- a/Source/Nakatomi/InteractableComponent.h +++ b/Source/Nakatomi/InteractableComponent.h @@ -21,6 +21,9 @@ protected: virtual void BeginPlay() override; public: - UFUNCTION() + void Interact(); + + void Interact(AActor* damagedActor, float damage, const UDamageType* damageType, AController* instigatedBy, AActor* damageCauser); + };