5#include "CoreMinimal.h"
6#include "Components/ActorComponent.h"
8#include "ProjectileLauncherComponent.generated.h"
14UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
23 virtual AProjectileBase*
Launch(
const TSubclassOf<AProjectileBase> ProjectileClass,
const FVector From,
const FVector Direction);
24 virtual AProjectileBase* LaunchTo(
const TSubclassOf<AProjectileBase> ProjectileClass,
const FVector From,
const FVector To);
29 virtual void BeginPlay()
override;
EProjectileDeactivationOption
Definition ProjectileBase.h:40
Definition ProjectileBase.h:82
Definition ProjectileLauncherComponent.h:16
FProjectileDeactivatedDelegate OnProjectileDeactivatedDelegate
Definition ProjectileLauncherComponent.h:33
FProjectileLaunchedDelegate OnProjectileLaunchedDelegate
Definition ProjectileLauncherComponent.h:32
Definition ProjectileSpawnSystemComponent.h:28
AProjectileBase * SpawnProjectile(UObject *Outer, const TSubclassOf< AProjectileBase > ProjectileClass, const FVector &Location, const FRotator &Rotation)
Definition ProjectileSpawnSystemComponent.cpp:66