AzureAbyss/Source/the_twilight_abyss/MerchantRaw/MerchantTriggerBox.h

28 lines
650 B
C
Raw Normal View History

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/BoxComponent.h"
#include "Components/PrimitiveComponent.h"
#include "MerchantTriggerBox.generated.h"
/**
*
*/
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
class THE_TWILIGHT_ABYSS_API UMerchantTriggerBox : public UBoxComponent
{
GENERATED_BODY()
protected:
virtual void BeginPlay() override;
public:
UMerchantTriggerBox();
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
private:
void PlayerCheck();
};