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

Method Destroyed

Source/Blaster/Pickups/Pickup.cpp:73–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void APickup::Destroyed()
74{
75 Super::Destroyed();
76
77 if (PickupSound)
78 {
79 UGameplayStatics::PlaySoundAtLocation(
80 this,
81 PickupSound,
82 GetActorLocation()
83 );
84 }
85 if (PickupEffect)
86 {
87 UNiagaraFunctionLibrary::SpawnSystemAtLocation(
88 this,
89 PickupEffect,
90 GetActorLocation(),
91 GetActorRotation()
92 );
93 }
94}
95

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected