20 lines
373 B
C
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();
|
||
|
|
};
|