29 lines
621 B
C++
29 lines
621 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/Actor.h"
|
|
#include "UObject/Interface.h"
|
|
#include "InteractionInterface.generated.h"
|
|
/**
|
|
*
|
|
*/
|
|
UINTERFACE(MinimalAPI, Blueprintable)
|
|
class UInteractionInterface : public UInterface
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
};
|
|
|
|
class MAYBETHISTIME_API IInteractionInterface
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
|
|
void Interact(AActor* Interactor);
|
|
|
|
UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
|
|
void LookingAt(AActor* Interactor, bool IsLooking);
|
|
}; |