| 36 | } |
| 37 | |
| 38 | void APickup::BeginPlay() |
| 39 | { |
| 40 | Super::BeginPlay(); |
| 41 | |
| 42 | if (HasAuthority()) |
| 43 | { |
| 44 | GetWorldTimerManager().SetTimer( |
| 45 | BindOverlapTimer, |
| 46 | this, |
| 47 | &APickup::BindOverlapTimerFinished, |
| 48 | BindOverlapTime |
| 49 | ); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | void APickup::OnSphereOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult) |
| 54 | { |
nothing calls this directly
no outgoing calls
no test coverage detected