How do I remove a delegate?

I’ve added a function to a dynamic mulicast delegate:

OnDelegate.AddDynamic(this, &AMyPawn::OnThisHappens);

However, how do I remove it after a while?

The Remove() function apparantly takes a single argument, but I don’t know what this is supposed to be.

AddDynamic does not return a handle or pointer.

The documentation make no mention of RemoveDynamic, which takes the same function arguments as AddDynamic.

6 Likes