I’m would like to pass a Delegate as a parameter to a function. It works fine, but now I would like to make the Delegate parameter as optional.
Currently I have this:
void MyFunction(FMyDelegate pDelegateParam);
And I would like to make something like this:
void MyFunction(FMyDelegate pDelegateParam = Something);
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.