ExoWest/Source/Exo/Public/Interfaces/Interactable.h

21 lines
452 B
C++

#pragma once
#include "CoreMinimal.h"
#include "Characters/ExoPlayerCharacter.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(AExoPlayerCharacter* playerCharacter);
};