1// Signature for OnOverlapEnd
2UFUNCTION()
3void OnOverlapEnd(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex);
4
5// In the constructor make sure to use AddDynamic to handle this function dynamically
6TriggerComp->OnComponentEndOverlap.AddDynamic(this, &AClass::OnOverlapEnd);