I’ve tried to create a UBlueprintFunctionLibrary derived class with a static function.
UCLASS()
class KSGM_API UKObjectManager : public UBlueprintFunctionLibrary
{
GENERATED_UCLASS_BODY()
public:
/**
* @brief Helper function to find a pickup object using its UID.
*
* @param UID The unique object id.
* @return The corresponding AKPickupObject pointer.
* If not found, NULL is returned.
*/
UFUNCTION(BlueprintCallable, Category = "Helper")
static AKPickupObject* FindPickupObject(FString UID);
};
I would like to call the FindPickupObject function from a blueprint.
I cannot see the function within the blueprint editor.
Do I have to reference the class in Blueprint ?
What to do to see the class in Blueprint and access their functions ?
D.