Source/TacticalVRCore/Private/Weapon/TVRCartridge.cpp
void ATVRCartridge::BeginPlay()
{
	Super::BeginPlay();

	GetStaticMeshComponent()->OnComponentHit.AddDynamic(this, &ATVRCartridge::OnComponentHit);
}
// 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 ATVRCartridge::BeginPlay()
{
	Super::BeginPlay();
	GetStaticMeshComponent()->OnComponentHit.AddDynamic(this, &ATVRCartridge::OnComponentHit);
}
void ATVRCartridge :: BeginPlay ( ) { Super :: BeginPlay ( ) ; GetStaticMeshComponent ( ) -> OnComponentHit . AddDynamic ( this , & ATVRCartridge :: OnComponentHit ) ; }
Called when the game starts or when spawned
Called when the game starts or when spawned