in UE5.4 ,the code does not have the method like:
CapsuleComp->OnComponentBeginOverlap.AddDynamic(this, &AObstacle::OverlapBegin);
I try to code use the method as follow:
CapsuleComp->OnComponentBeginOverlap.__Internal_AddDynamic(this, &AObstacle::OverlapBegin, FName(“OverlapBegin”));
but is inoperative!!!