When writing a function in C++ for blueprint I can use WorldContext = "WorldContextObject"
in the meta portion of the UFUNCTION
. This way, when I use the method in a blueprint, I don’t need to manually pass in a object for it to use.
Is there a way to specify a parameter for a blueprint function defined in a BlueprintFunctionLibrary
to do the same thing?