Not sure if it’s even possible though… Any suggestions?
EDIT: I forgot to mention, I aim to use the function on Blueprint. If I use the version without the optional parameter when I use that function node it forces me to put a pin for the delegate.
This way in Blueprint I’m not forced to put a pin in it. Still, in C++ it’s a forced parameter, but I can pass an empty struct.
I actually have more than one delegate in my situation, and I put them all in the struct. The problem with multiple delegates in the struct is that in Blueprint when I do want to pass a delegate as parameter
I have to create the struct and if I do I’m forced to assign ALL delegates (even those I don’t care about), like this: