TowerDefense/Source/TowerDefense/DefaultProjectile.cpp
void ADefaultProjectile::BeginPlay()
{
	Super::BeginPlay();

	OverlapSphere->OnComponentBeginOverlap.AddDynamic(this, &ADefaultProjectile::OnProjectileOverlapBegin);
}
// Called when the game starts or when spawned
Called when the game starts or when spawned
Called when the game starts or when spawned
void ADefaultProjectile::BeginPlay()
{
	Super::BeginPlay();
	OverlapSphere->OnComponentBeginOverlap.AddDynamic(this, &ADefaultProjectile::OnProjectileOverlapBegin);
}
void ADefaultProjectile :: BeginPlay ( ) { Super :: BeginPlay ( ) ; OverlapSphere -> OnComponentBeginOverlap . AddDynamic ( this , & ADefaultProjectile :: OnProjectileOverlapBegin ) ; }
Called when the game starts or when spawned
Called when the game starts or when spawned