Create a new c++ class “yourBlueprintFunctionLibrary” derived from UBlueprintFunctionLibrary and add the code to it