Remove problematic files

This commit is contained in:
2024-09-23 22:47:49 -04:00
parent 1b30934497
commit e5649b711b
2 changed files with 0 additions and 55 deletions
@@ -1,29 +0,0 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "InteractableActorComponent.h"
// Sets default values for this component's properties
UInteractableActorComponent::UInteractableActorComponent()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
// off to improve performance if you don't need them.
PrimaryComponentTick.bCanEverTick = false;
// ...
}
// Called when the game starts
void UInteractableActorComponent::BeginPlay()
{
Super::BeginPlay();
// ...
}
void UInteractableActorComponent::OnInteract_Implementation(AActor* Interactor)
{
UE_LOG(LogTemp, Warning, TEXT("Interacted with %s"), *GetOwner()->GetName());
}
@@ -1,26 +0,0 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "InteractableActorComponent.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent), Blueprintable )
class WIZARDINGCENTRAL_API UInteractableActorComponent : public UActorComponent
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
UInteractableActorComponent();
protected:
// Called when the game starts
virtual void BeginPlay() override;
public:
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Interactable Actor")
void OnInteract(AActor* Interactor);
};