Overlap Event Add AddDynamic
- CapsuleComponent->OnComponentBeginOverlap.AddDynamic(this, &AYourClass::YourFunction);
AddDynamic Requires below information crucially
void AOverlapBound::OnOverlapEnter(UPrimitiveComponent* OverlappedComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult & SweepResult)
댓글
댓글 쓰기