MCPcopy Create free account
hub / github.com/DruidMech/MultiplayerCourseBlasterGame / Destroyed

Method Destroyed

Source/Blaster/Weapon/Projectile.cpp:119–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void AProjectile::Destroyed()
120{
121 Super::Destroyed();
122
123 if (ImpactParticles)
124 {
125 UGameplayStatics::SpawnEmitterAtLocation(GetWorld(), ImpactParticles, GetActorTransform());
126 }
127 if (ImpactSound)
128 {
129 UGameplayStatics::PlaySoundAtLocation(this, ImpactSound, GetActorLocation());
130 }
131}
132

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected