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

Method BeginPlay

Source/Blaster/Pickups/Pickup.cpp:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void 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
53void APickup::OnSphereOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult)
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected