blaster/Source/Blaster/Weapon/Projectile.h

35 lines
709 B
C
Raw Normal View History

2022-05-04 17:17:25 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
2022-05-05 12:15:25 +00:00
#include "Particles/ParticleSystemComponent.h"
2022-05-04 17:17:25 +00:00
#include "Projectile.generated.h"
UCLASS()
class BLASTER_API AProjectile : public AActor
{
GENERATED_BODY()
public:
AProjectile();
virtual void Tick(float DeltaTime) override;
protected:
virtual void BeginPlay() override;
public:
UPROPERTY(EditAnywhere)
class UBoxComponent* CollisionBox;
2022-05-05 10:59:50 +00:00
UPROPERTY(VisibleAnywhere)
class UProjectileMovementComponent* ProjectileMovementComponent;
2022-05-05 12:15:25 +00:00
UPROPERTY(EditAnywhere)
class UParticleSystem* Tracer;
class UParticleSystemComponent* TracerComponent;
2022-05-04 17:17:25 +00:00
};