📅  最后修改于: 2022-03-11 14:44:45.716000             🧑  作者: Mango
// Signature for OnOverlapEnd
UFUNCTION()
void OnOverlapEnd(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex);
// In the constructor make sure to use AddDynamic to handle this function dynamically
TriggerComp->OnComponentEndOverlap.AddDynamic(this, &AClass::OnOverlapEnd);