ExoWest/Source/Exo/Public/Interfaces/Interactable.h
Kubson96 adddc1352c feat: add interaction interface, component and test item
Added Interactable - interface for interaction system. Implemented in test item (TestBox).
Created interaction component for character
Added interaction input - not implemented.
2025-02-17 14:46:22 +01:00

20 lines
373 B
C++

#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "Interactable.generated.h"
UINTERFACE(MinimalAPI, Blueprintable)
class UInteractable : public UInterface
{
GENERATED_BODY()
};
class EXO_API IInteractable
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Interaction")
void Interact();
};