| 117 | } |
| 118 | |
| 119 | void 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 |
nothing calls this directly
no outgoing calls
no test coverage detected