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.