AzureAbyss/Source/the_twilight_abyss/MerchantInteraction/Interaction.h
MH261677 846b21e4e9 Fixed Interaction Pop-Ups
Interaction is now working with the merchant also added interaction class to setup this up.
2022-11-13 16:43:01 +00:00

34 lines
685 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Interaction.generated.h"
UCLASS()
class THE_TWILIGHT_ABYSS_API AInteraction : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AInteraction();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
UPROPERTY(VisibleAnywhere)
class UWidgetComponent* WidgetBase;
UPROPERTY(EditAnywhere)
TSubclassOf<UUserWidget> Widget;
virtual void OnInteract();
};