2022-11-10 01:09:02 +00:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
|
|
#include "MerchantTriggerBox.h"
|
|
|
|
|
2022-11-10 12:57:31 +00:00
|
|
|
#include "the_twilight_abyss/PlayerTemp/TempCharacter.h"
|
|
|
|
|
2022-11-10 01:09:02 +00:00
|
|
|
//makes it so the component script is initialized when game starts
|
|
|
|
UMerchantTriggerBox::UMerchantTriggerBox()
|
|
|
|
{
|
|
|
|
PrimaryComponentTick.bCanEverTick = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UMerchantTriggerBox::BeginPlay()
|
|
|
|
{
|
|
|
|
Super::BeginPlay();
|
|
|
|
UE_LOG(LogTemp, Warning, TEXT("TRIGGER SPAWNED"));
|
|
|
|
}
|
|
|
|
|
2022-11-10 12:57:31 +00:00
|
|
|
|
2022-11-10 01:09:02 +00:00
|
|
|
void UMerchantTriggerBox::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
|
|
|
|
{
|
|
|
|
Super::TickComponent(DeltaTime, TickType, ThisTickFunction);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|