| 30 | } |
| 31 | |
| 32 | void ACasing::OnHit(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, FVector NormalImpulse, const FHitResult& Hit) |
| 33 | { |
| 34 | if (ShellSound) |
| 35 | { |
| 36 | UGameplayStatics::PlaySoundAtLocation(this, ShellSound, GetActorLocation()); |
| 37 | } |
| 38 | Destroy(); |
| 39 | } |
| 40 |
nothing calls this directly
no outgoing calls
no test coverage detected