aad21aa491
Added enemy collision script and made it output the player being hit.
20 lines
416 B
C++
20 lines
416 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Components/BoxComponent.h"
|
|
#include "EnemyCollision.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
|
|
class THE_TWILIGHT_ABYSS_API UEnemyCollision : public UBoxComponent
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
protected:
|
|
virtual void BeginPlay() override;
|
|
};
|