blaster/Source/Blaster/Weapon/ProjectileBullet.h

30 lines
626 B
C
Raw Normal View History

2022-05-07 11:03:19 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Projectile.h"
#include "ProjectileBullet.generated.h"
/**
*
*/
UCLASS()
class BLASTER_API AProjectileBullet : public AProjectile
{
GENERATED_BODY()
2022-05-19 09:10:41 +00:00
public:
AProjectileBullet();
2022-05-27 20:52:03 +00:00
#if WITH_EDITOR
virtual void PostEditChangeProperty(FPropertyChangedEvent& Event) override;
#endif
2022-05-19 09:10:41 +00:00
2022-05-07 11:03:19 +00:00
protected:
virtual void OnHit(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit) override;
2022-05-27 20:37:59 +00:00
virtual void BeginPlay() override;
2022-05-07 11:03:19 +00:00
};